From: SourceForge.net <no...@so...> - 2011-05-04 13:20:06
|
Bugs item #3290264, was opened at 2011-04-20 11:05 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377768&aid=3290264&group_id=23187 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Java 1.3 >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: aefaradien (aefaradien) Assigned to: Nobody/Anonymous (nobody) Summary: assertXpathsEqual() with attribute causes DOMException Initial Comment: Java 1.6. XMLUnit 1.3. XMLAssert.assertXpathsEqual("/foo/Bar/@a", "/foo/Bar", "<foo><Bar a=\"1\" /></foo>"); Exception in thread "main" org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source) at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source) at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source) at org.custommonkey.xmlunit.XMLAssert.asXpathResultDocument(XMLAssert.java:1117) at org.custommonkey.xmlunit.XMLAssert.assertXpathEquality(XMLAssert.java:576) at org.custommonkey.xmlunit.XMLAssert.assertXpathsEqual(XMLAssert.java:453) at org.custommonkey.xmlunit.XMLAssert.assertXpathsEqual(XMLAssert.java:368) at org.custommonkey.xmlunit.XMLAssert.assertXpathsEqual(XMLAssert.java:397) ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2011-05-04 13:20 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Stefan Bodewig (bodewig) Date: 2011-04-20 12:43 Message: fixed in svn with revision 494 http://xmlunit.svn.sourceforge.net/viewvc/xmlunit?view=revision&revision=494 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377768&aid=3290264&group_id=23187 |