[Mono-bugs] [Bug 380720] New: Wrong exception when removing and adding node with same id

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 17 07:07:38 EDT 2008


           Summary: Wrong exception when removing and adding node with same
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: 64bit
        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=208579)
 --> (https://bugzilla.novell.com/attachment.cgi?id=208579)
Example code to trigger the error

After removing from the DOM a node with a given id every addition of a
different (or same) node with the same id raise the following exception:

System.Xml.XmlException: ID value xxx already exists in this document.

but, obviously, that ID value does not exists in the document anymore. The
attached example code shows three different ways to trigger the error.

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