You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ve...@apache.org on 2009/04/18 00:48:05 UTC
svn commit: r766172 -
/webservices/commons/trunk/modules/axiom/modules/axiom-integration/src/test/java/org/apache/axiom/om/impl/builder/SAXOMBuilderSAXParserTest.java
Author: veithen
Date: Fri Apr 17 22:48:05 2009
New Revision: 766172
URL: http://svn.apache.org/viewvc?rev=766172&view=rev
Log:
Fixed another build issue on Java 1.6.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-integration/src/test/java/org/apache/axiom/om/impl/builder/SAXOMBuilderSAXParserTest.java
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-integration/src/test/java/org/apache/axiom/om/impl/builder/SAXOMBuilderSAXParserTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-integration/src/test/java/org/apache/axiom/om/impl/builder/SAXOMBuilderSAXParserTest.java?rev=766172&r1=766171&r2=766172&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-integration/src/test/java/org/apache/axiom/om/impl/builder/SAXOMBuilderSAXParserTest.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-integration/src/test/java/org/apache/axiom/om/impl/builder/SAXOMBuilderSAXParserTest.java Fri Apr 17 22:48:05 2009
@@ -28,6 +28,7 @@
import junit.framework.TestSuite;
import org.apache.axiom.om.AbstractTestCase;
+import org.custommonkey.xmlunit.XMLUnit;
import org.xml.sax.InputSource;
import org.xml.sax.XMLReader;
@@ -58,6 +59,7 @@
try {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
builder.getDocument().serialize(baos);
+ XMLUnit.setIgnoreAttributeOrder(true);
assertXMLIdentical(compareXML(
toDocumentWithoutDTD(in),
toDocumentWithoutDTD(new ByteArrayInputStream(baos.toByteArray()))), true);