[ 
http://issues.apache.org/jira/browse/XERCESJ-1123?page=comments#action_12360429 
] 

Chris Simmons commented on XERCESJ-1123:
----------------------------------------

el.setAttributeNode (attr);

rather than

if (fNamespaceAware) {
  el.setAttributeNodeNS(attr);
}
else {
  el.setAttributeNode(attr);
}

> Schema default attributes overwritten when names collide.
> ---------------------------------------------------------
>
>          Key: XERCESJ-1123
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1123
>      Project: Xerces2-J
>         Type: Bug
>   Components: DOM (Level 3 Core)
>     Versions: 2.7.1
>  Environment: Linux.
>     Reporter: Chris Simmons
>     Priority: Minor

>
> If you have an element with a schema-defaulted attribute, and another 
> attribute with the same local name actually occurring on that element, then 
> one of the attributes is lost.  This occurs when parsing (ie not an issue 
> with the DOM tree as such).
> I think the problem is that AbstractDOMParser does

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to