You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Jacob Kjome (JIRA)" <xe...@xml.apache.org> on 2007/01/28 09:36:49 UTC
[jira] Updated: (XERCESJ-1022) cloneNode forgets IDness of
attribute
[ https://issues.apache.org/jira/browse/XERCESJ-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacob Kjome updated XERCESJ-1022:
---------------------------------
Attachment: CoreDocumentImpl.java_IDness.patch
In case spacing got lost when I pasted the patch into the comment, I've attached it as a file to this issue.
Jake
> cloneNode forgets IDness of attribute
> -------------------------------------
>
> Key: XERCESJ-1022
> URL: https://issues.apache.org/jira/browse/XERCESJ-1022
> Project: Xerces2-J
> Issue Type: Bug
> Components: DOM (Level 3 Core)
> Affects Versions: 2.6.2
> Environment: java version "1.4.2_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.3)
> Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)
> Reporter: elharo
> Attachments: CoreDocumentImpl.java_IDness.patch, IDTest.java
>
>
> Cloning a node that contains an ID type attribute forgets that the attribute is an ID. Interestingly importing the element into a new document, even one without a DocType, does not forget that the Attr has ID type.
> The attached program generates the following output:
> Xerces-J 2.6.2
> Found element with ID
> Did not find element with ID
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org