[Mono-bugs] [Bug 33515][Maj] New - SelectNodes ignores supplied namespace manager

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
8 Nov 2002 21:59:17 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by krucker@ginko.de.

http://bugzilla.ximian.com/show_bug.cgi?id=33515

--- shadow/33515	Fri Nov  8 16:59:17 2002
+++ shadow/33515.tmp.23133	Fri Nov  8 16:59:17 2002
@@ -0,0 +1,34 @@
+Bug#: 33515
+Product: Mono/Class Libraries
+Version: unspecified
+OS: SuSE 8.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: krucker@ginko.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SelectNodes ignores supplied namespace manager
+
+Description of Problem:
+Calling SelectNodes on document node with a XmlNamespaceManager being 
+explicit specified fails. The program originally has been translated 
+and successfully tested with rotor.
+
+Steps to reproduce the problem:
+  nsm = new XmlNamespaceManager (new NameTable());
+  nsm.AddNamespace ("xsd", "http://www.w3.org/2001/XMLSchema");
+  nsm.AddNamespace ("ods", "http://www.asam.net/ods");
+  Schema.SelectNodes ("...", nsm)
+
+Actual Results:
+Invalid namespace prefix: xsd
+
+Expected Results:
+no exception should be raised