The following issue has been updated:

    Updater: elharo (mailto:[EMAIL PROTECTED])
       Date: Fri, 22 Oct 2004 6:26 AM
    Changes:
             Attachment changed to IDTest.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCESJ-1022?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESJ-1022

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESJ-1022
    Summary: cloneNode forgets IDness of attribute
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces2-J
 Components: 
             DOM
   Versions:
             2.6.2

   Assignee: 
   Reporter: elharo

    Created: Fri, 22 Oct 2004 6:24 AM
    Updated: Fri, 22 Oct 2004 6:26 AM
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)

Description:
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


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to