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 "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2007/01/31 07:16:05 UTC

[jira] Resolved: (XERCESJ-1022) cloneNode forgets IDness of attribute

     [ https://issues.apache.org/jira/browse/XERCESJ-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich resolved XERCESJ-1022.
-------------------------------------------

    Resolution: Won't Fix

Resolving as per recent discussions on the j-users [1] list, though it might be re-opened in the future if someone presents evidence that the WG had other intentions.

[1] http://marc.theaimsgroup.com/?t=116970612400001&r=1&w=2

> 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