| Summary: | with WoodStox, in test-jaxb, 5 XmlLocationNonTransientTestCases w/SAX Parsing Failed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Praba Vijayaratnam <prabaharan.vijayaratnam> | ||||||
| Component: | Eclipselink | Assignee: | 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: |
|
||||||||
Created attachment 214551 [details]
Patch
Created attachment 214554 [details]
Patch
Added special handling for Woodstox column numbers in non-transient case. Fixed and checked into trunk. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
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)