Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365309 - with XDK/xmlparserv2, in test-jaxb, XmlLocationTestCases.Java Project Source w/SAX Parsing Failed
Summary: with XDK/xmlparserv2, in test-jaxb, XmlLocationTestCases.Java Project Source ...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Rick Barkhouse CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 08:57 EST by Praba Vijayaratnam CLA
Modified: 2022-06-09 10:05 EDT (History)
2 users (show)

See Also:


Attachments
Patch (10.72 KB, patch)
2012-04-25 14:04 EDT, Rick Barkhouse CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Praba Vijayaratnam CLA 2011-12-01 08:57:11 EST
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)
Comment 1 Rick Barkhouse CLA 2011-12-05 15:17:08 EST
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
Comment 2 Rick Barkhouse CLA 2012-04-25 14:04:34 EDT
Created attachment 214556 [details]
Patch
Comment 3 Rick Barkhouse CLA 2012-04-25 14:05:45 EDT
Changed instance doc to not have whitespace in the xml declaration (which is the XDK bug)
Comment 4 Rick Barkhouse CLA 2012-04-25 14:48:22 EDT
Fixed and checked into trunk.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:05:32 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink