elharo commented on code in PR #126:
URL: https://github.com/apache/xerces-j/pull/126#discussion_r4493513266


##########
tests/dom/ids/Test.java:
##########
@@ -166,4 +166,40 @@ public void testGetElementById() throws Exception {
 
     }
 
+    public void testCloneNodePreservesIdAttribute() throws Exception {
+
+        Document doc = createDocument();
+
+        Element element = doc.getElementById("one.worker");

Review Comment:
   Done in 9ddf19d00: the cloned element and attribute now use separate local 
variables (clonedElement and clonedAttr).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to