Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365311 - with WoodStox, in test-jaxb, 5 XmlLocationNonTransientTestCases w/SAX Parsing Failed
Summary: with WoodStox, in test-jaxb, 5 XmlLocationNonTransientTestCases w/SAX Parsing...
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: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 09:08 EST by Praba Vijayaratnam CLA
Modified: 2022-06-09 10:30 EDT (History)
2 users (show)

See Also:


Attachments
Patch (10.12 KB, patch)
2012-04-25 13:48 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch (10.72 KB, patch)
2012-04-25 14:03 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 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