Created: (XERCESJ-1212) DOMResultBuilder.startElement has a calls Element 2006-11-17 - By Grant McDonald (JIRA)
DOMResultBuilder.startElement has a calls ElementImpl.setIdAttribute before setting the attribute onto the associated element ------------------------------------------------------------------------------- ----------------------------------------------
Key: XERCESJ-1212 URL: http://issues.apache.org/jira/browse/XERCESJ-1212 Project: Xerces2-J Issue Type: Bug Components: JAXP (javax.xml.validation) Affects Versions: 2.7.0, 2.7.1, 2.8.0, 2.8.1 Environment: Windows XP SP2, Ubuntu Linux 6.06, Java 1.5.07 Reporter: Grant McDonald
The code in ElementImpl.setIdAttribute contains a (reasonable) check to see whether the attribute's owner element is the same as the current element and if not a DOMException.NOT_FOUND_ERR is thrown. Since the DOMResultBuilder .startElement method contains two separate calls to the setIdAttribute method prior to setting the attribute onto the element this exception will always be thrown when encountering xsd:ID attrbutes.
-- 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: j-dev-unsubscribe@(protected) For additional commands, e-mail: j-dev-help@(protected)
|
|