[Mono-bugs] [Bug 49580][Min] New - GetNamespaceOfPrefix

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 12 Oct 2003 18:47:34 -0400 (EDT)


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 tberman@gentoo.org.

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

--- shadow/49580	2003-10-12 18:47:34.000000000 -0400
+++ shadow/49580.tmp.30876	2003-10-12 18:47:34.000000000 -0400
@@ -0,0 +1,25 @@
+Bug#: 49580
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tberman@gentoo.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: GetNamespaceOfPrefix
+
+It appears that the ms runtime uses String.Empty as the 'null' return 
+result of XmlNode.GetNamespaceOfPrefix.
+
+as well as there needs to be a node == null check at the end of the while 
+to make sure you wont be causing a NullRef to pop out.
+
+--Todd