Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365311

Summary: with WoodStox, in test-jaxb, 5 XmlLocationNonTransientTestCases w/SAX Parsing Failed
Product: z_Archived Reporter: Praba Vijayaratnam <prabaharan.vijayaratnam>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: blaise.doughan, david.twelves
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch
none
Patch none

Description Praba Vijayaratnam CLA 2011-12-01 09:08:33 EST
Test Config:
Java Development Kit: jrockit16
Ant parameters:
-Dxml.platform=org.eclipse.persistence.platform.xml.jaxp.JAXPPlatform
-Dxml.parser.jar.dir=/net/ottvm003.ca.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/beahome-10.3.6/modules
-Dxml.parser.jar=com.bea.core.stax*.jar,com.bea.core.woodstox*.jar

-----------
org.eclipse.persistence.testing.jaxb.annotations.xmllocation.XmlLocationNonTransientTestCases.Java Project Source w/SAX Parsing: XmlLocationNonTransientTestCase: testXMLToObjectFromInputStream


org.eclipse.persistence.testing.jaxb.annotations.xmllocation.XmlLocationNonTransientTestCases.Java Project Source w/SAX Parsing: XmlLocationNonTransientTestCase: testRoundTrip

org.eclipse.persistence.testing.jaxb.annotations.xmllocation.XmlLocationNonTransientTestCases.Java Project Source w/SAX Parsing: XmlLocationNonTransientTestCase: testXMLToObjectFromXMLStreamReader

org.eclipse.persistence.testing.jaxb.annotations.xmllocation.XmlLocationNonTransientTestCases.Java Project Source w/SAX Parsing: XmlLocationNonTransientTestCase: testXMLToObjectFromXMLStreamReaderEx

org.eclipse.persistence.testing.jaxb.annotations.xmllocation.XmlLocationNonTransientTestCases.Java Project Source w/SAX Parsing: XmlLocationNonTransientTestCase: testXMLToObjectFromXMLEventReader
----------------
junit.framework.AssertionFailedError: expected:<
Data(dat325) L2 C61 null
DetailData(name|rbarkhouse) L7 C37 null
SubData(phone|6132832684) L14 C13 null
LeafData(id|8827) L21 C35 null
> but was:<
Data(dat325) L2 C1 null
DetailData(name|rbarkhouse) L7 C4 null
SubData(phone|6132832684) L14 C4 null
LeafData(id|8827) L21 C4 null
>
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.testXMLToObjectFromInputStream(JAXBTestCases.java:201)
at org.eclipse.persistence.testing.jaxb.annotations.xmllocation.XmlLocationNonTransientTestCases.testXMLToObjectFromInputStream(XmlLocationNonTransientTestCases.java:67)
Comment 1 Rick Barkhouse CLA 2012-04-25 13:48:47 EDT
Created attachment 214551 [details]
Patch
Comment 2 Rick Barkhouse CLA 2012-04-25 14:03:39 EDT
Created attachment 214554 [details]
Patch
Comment 3 Rick Barkhouse CLA 2012-04-25 14:07:16 EDT
Added special handling for Woodstox column numbers in non-transient case.
Comment 4 Rick Barkhouse CLA 2012-04-25 14:48:00 EDT
Fixed and checked into trunk.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:30:32 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink