Ver Fonte

2004-03-27 Atsushi Enomoto <[email protected]>

	* Compiler.cs : Supply NameTable to base ctor() of XPathNavigatorNsm.

svn path=/trunk/mcs/; revision=24660
Atsushi Eno há 22 anos atrás
pai
commit
e3de3e6de0

+ 4 - 0
mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog

@@ -1,3 +1,7 @@
+2004-03-27  Atsushi Enomoto  <[email protected]>
+
+	* Compiler.cs : Supply NameTable to base ctor() of XPathNavigatorNsm.
+
 2004-03-22 Atsushi Enomoto <[email protected]>
 
 	* Compiler.cs, 

+ 2 - 2
mcs/class/System.XML/Mono.Xml.Xsl/Compiler.cs

@@ -793,7 +793,7 @@ namespace Mono.Xml.Xsl
 	internal class XPathNavigatorNsm : XmlNamespaceManager {
 		XPathNavigator nsScope;
 		
-		public XPathNavigatorNsm (XPathNavigator n) : base () {
+		public XPathNavigatorNsm (XPathNavigator n) : base (n.NameTable) {
 			nsScope = n.Clone ();
 			if (nsScope.NodeType == XPathNodeType.Attribute)
 				nsScope.MoveToParent ();
@@ -809,4 +809,4 @@ namespace Mono.Xml.Xsl
 			return nsScope.GetNamespace (prefix);
 		}
 	}
-}
+}