Community
Participate
Working Groups
Ant target: test-oxm Java Development Kit: jdk16 Ant parameters: -Dxml.platform=org.eclipse.persistence.platform.xml.xdk.XDKPlatform -Dxml.parser.jar=xmlparserv2.jar Java Project Source w/Doc Pres: XMLMarshalTestCase: testMarshalObjectToSAXResult org.eclipse.persistence.testing.oxm.docpres.xmlmarshaller.XMLMarshalTestCases.Java Project Source w/Doc Pres: XMLMarshalTestCase: testMarshalObjectToSAXResult Documents are not equal. CONTROL: <?xml version = '1.0' encoding = 'utf-8'?> <employee> <id>123</id> <info> <email-address> <user-id>jane.doe</user-id> <domain>example.com</domain> </email-address> </info> </employee> TEST: <?xml version = '1.0' encoding = 'utf-8'?> <employee xmlns=""> <id>123</id> <info> <email-address> <user-id>jane.doe</user-id> <domain>example.com</domain> </email-address> </info> </employee> junit.framework.AssertionFailedError: Documents are not equal. CONTROL: 123 jane.doe example.com TEST: 123 jane.doe example.com at org.eclipse.persistence.testing.oxm.XMLTestCase.assertXMLIdentical(XMLTestCase.java:45) at org.eclipse.persistence.testing.oxm.xmlmarshaller.XMLMarshalTestCases.testMarshalObjectToSAXResult(XMLMarshalTestCases.java:318)
Created attachment 189314 [details] Proposed patch.
Created attachment 189319 [details] Proposed patch.
Fixed, reviewed by bdoughan.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink