Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.WebControls/Xml.cs')
-rw-r--r--mcs/class/System.Web/System.Web.UI.WebControls/Xml.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/Xml.cs b/mcs/class/System.Web/System.Web.UI.WebControls/Xml.cs
index e2bca533f8f..7cdb7e4fea8 100644
--- a/mcs/class/System.Web/System.Web.UI.WebControls/Xml.cs
+++ b/mcs/class/System.Web/System.Web.UI.WebControls/Xml.cs
@@ -116,7 +116,7 @@ namespace System.Web.UI.WebControls
[WebSysDescription ("The XML content that is transformed for the XML Webcontrol.")]
public string DocumentContent {
get {
- return documentContent;
+ return String.Empty;
}
set {
document = null;
@@ -189,6 +189,7 @@ namespace System.Web.UI.WebControls
GetType().Name));
}
+ [MonoTODO("security")]
private void LoadXpathDoc ()
{
if (documentContent != null && documentContent.Length > 0) {
@@ -197,11 +198,12 @@ namespace System.Web.UI.WebControls
}
if (documentSource != null && documentSource.Length != 0) {
- xpathDoc = new XPathDocument (MapPathSecure (documentSource));
+ xpathDoc = new XPathDocument (documentSource);
return;
}
}
+ [MonoTODO("security")]
private void LoadTransform ()
{
if (transform != null)