Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331925 - JDK 1.5/StAX Test Case Issue
Summary: JDK 1.5/StAX Test Case Issue
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Blaise Doughan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 11:41 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:07 EDT (History)
2 users (show)

See Also:


Attachments
MOXy - Test Cases (10.57 KB, patch)
2010-12-06 11:46 EST, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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