[Mono-bugs] [Bug 458245] New: SelectSingleNode throws exception if called on XmlAttributes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 11 04:42:02 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=458245


           Summary: SelectSingleNode throws exception if called on
                    XmlAttributes
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: fog at initd.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=259366)
 --> (https://bugzilla.novell.com/attachment.cgi?id=259366)
Stack trace of the error

Calling SelectSingleNode(string) on an XmlNode throws the attached exception
when the node is an XmlAttribute. Even if calling SelectSingleNode on
attributes would not be allowed it should throw the correct exception and not a
generic null reference exception.

Also attached to this report a small test to reproduce the problem.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list