Community
Participate
Working Groups
org.eclipse.persistence.testing.jaxb.annotations.xmllocation.XmlLocationTestCases.Java Project Source w/SAX Parsing: XmlLocationTestCase: testXMLToObjectFromURL ----------------- junit.framework.AssertionFailedError: expected:< Data(dat325) L15 C89 file:/net/ottvm033/scratch/aime/eclipselink/org.eclipse.persistence/trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/annotations/xmllocation/data.xml DetailData(name|rbarkhouse) L20 C35 file:/net/ottvm033/scratch/aime/eclipselink/org.eclipse.persistence/trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/annotations/xmllocation/data.xml SubData(phone|6132832684) L30 C26 file:/net/ottvm033/scratch/aime/eclipselink/org.eclipse.persistence/trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/annotations/xmllocation/data.xml LeafData(id|8827) L32 C33 file:/net/ottvm033/scratch/aime/eclipselink/org.eclipse.persistence/trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/annotations/xmllocation/data.xml > but was:< Data(dat325) L9 C89 file:/net/ottvm033/scratch/aime/eclipselink/org.eclipse.persistence/trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/annotations/xmllocation/data.xml DetailData(name|rbarkhouse) L14 C35 file:/net/ottvm033/scratch/aime/eclipselink/org.eclipse.persistence/trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/annotations/xmllocation/data.xml SubData(phone|6132832684) L24 C26 file:/net/ottvm033/scratch/aime/eclipselink/org.eclipse.persistence/trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/annotations/xmllocation/data.xml LeafData(id|8827) L26 C33 file:/net/ottvm033/scratch/aime/eclipselink/org.eclipse.persistence/trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/annotations/xmllocation/data.xml > at org.eclipse.persistence.testing.oxm.mappings.XMLMappingTestCases.xmlToObjectTest(XMLMappingTestCases.java:272) at org.eclipse.persistence.testing.jaxb.JAXBTestCases.xmlToObjectTest(JAXBTestCases.java:499) at org.eclipse.persistence.testing.jaxb.JAXBTestCases.testXMLToObjectFromURL(JAXBTestCases.java:416)
This appears to be due to a bug in XDK. I have filed a bug against them: https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=13466214
Created attachment 214556 [details] Patch
Changed instance doc to not have whitespace in the xml declaration (which is the XDK bug)
Fixed and checked into trunk.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink