DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15876>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15876

setAttribute with new values gives wrong mutation event

           Summary: setAttribute with new values gives wrong mutation event
           Product: Xerces2-J
           Version: 2.0.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If you invoke setAttribute with a new attribute name and value, a 
DOMAttrModified event with an attribute change type of MODIFICATION.

It should have a change type of ADDITION.

Problem starts in code of "AttrImpl.setNodeValue()", it notifies document with 
           ownerDocument.modifiedAttrValue(this, oldvalue);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to