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

Bug 331925

Summary: JDK 1.5/StAX Test Case Issue
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Blaise Doughan <blaise.doughan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: anuradhapalanivelu, eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
MOXy - Test Cases none

Description Blaise Doughan CLA 2010-12-06 11:41:19 EST
There are currently some JAXB test cases failing when run against JDK 1.5 due to no implementation of a StAX parser being found:

Provider com.bea.xml.stream.MXParserFactory not found 

javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:178)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
at org.eclipse.persistence.testing.jaxb.xmlmarshaller.UnmarshallerNullTestCases.testFailXMLStreamReaderWithNullType(UnmarshallerNullTestCases.java:261)


The test cases are:

- org.eclipse.persistence.testing.jaxb.xmlmarshaller.UnmarshallerNullTestCases
- org.eclipse.persistence.testing.jaxb.xmlmarshaller.UnmarshalSchemaValidationTestCases
- org.eclipse.persistence.testing.jaxb.xmlmarshaller.MarshalSchemaValidationTestCases
Comment 1 Blaise Doughan CLA 2010-12-06 11:46:49 EST
Created attachment 184631 [details]
MOXy - Test Cases

Fixed test cases to guard against no implementation of StAX parser.
Comment 2 Blaise Doughan CLA 2010-12-06 12:02:58 EST
Fix checked into trunk at rev:  8633

Code reviewed by:  Rick Barkhouse
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:07:24 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink