[Mono-bugs] [Bug 398592] Appending an attribute twice throws runtime error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 11 04:31:19 EDT 2008


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

User atsushi at ximian.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=398592#c1


Atsushi Enomoto <atsushi at ximian.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |RESOLVED
         Resolution|                                                |INVALID




--- Comment #1 from Atsushi Enomoto <atsushi at ximian.com>  2008-06-11 02:31:19 MDT ---
It is a MS BUG. This behavior violates W3C DOM Specification. Read W3C
specification carefully:
http://www.w3.org/TR/DOM-Level-2-Core/core.html

<quote>INUSE_ATTRIBUTE_ERR: Raised if arg is an Attr that is already an
attribute of another Element object. The DOM user must explicitly clone Attr
nodes to re-use them in other elements.</quote>

(setNamedItem method in NamedNodeMap interface)

You might want to report Microsoft to fix *their* bug.


-- 
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