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.XML/System.Xml/XmlNamespaceManager.cs')
-rw-r--r--mcs/class/System.XML/System.Xml/XmlNamespaceManager.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlNamespaceManager.cs b/mcs/class/System.XML/System.Xml/XmlNamespaceManager.cs
index 29afff1e604..ea6a8b50523 100644
--- a/mcs/class/System.XML/System.Xml/XmlNamespaceManager.cs
+++ b/mcs/class/System.XML/System.Xml/XmlNamespaceManager.cs
@@ -170,11 +170,9 @@ namespace System.Xml
decls [declPos].Uri = uri;
}
- static string IsValidDeclaration (string prefix, string uri, bool throwException)
+ internal static string IsValidDeclaration (string prefix, string uri, bool throwException)
{
string message = null;
- // It is funky, but it does not check whether prefix
- // is equivalent to "xml" in case-insensitive means.
if (prefix == PrefixXml && uri != XmlnsXml)
message = String.Format ("Prefix \"xml\" can only be bound to the fixed namespace URI \"{0}\". \"{1}\" is invalid.", XmlnsXml, uri);
else if (message == null && prefix == "xmlns")