Community
Participate
Working Groups
Test Config: Java Development Kit: jdk16 Ant parameters: -Dxml.platform=org.eclipse.persistence.platform.xml.xdk.XDKPlatform -Dxml.parser.jar=xmlparserv2.jar --------- org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromInputStream org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromNode org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromXMLStreamReader org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromXMLEventReader org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromURL org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testUnmarshallerHandler ------------- Exception Description: Missing class for indicator field value [car-type] of type [class java.lang.String]. Descriptor: XMLDescriptor(org.eclipse.persistence.testing.oxm.inheritance.Vehicle --> [DatabaseTable(prefix:vehicle)]) Local Exception Stack: Exception [EclipseLink-43] (Eclipse Persistence Services - 2.4.0.v20111130-r10478): org.eclipse.persistence.exceptions.DescriptorException Exception Description: Missing class for indicator field value [car-type] of type [class java.lang.String]. Descriptor: XMLDescriptor(org.eclipse.persistence.testing.oxm.inheritance.Vehicle --> [DatabaseTable(prefix:vehicle)]) at org.eclipse.persistence.exceptions.DescriptorException.missingClassForIndicatorFieldValue(DescriptorException.java:937) at org.eclipse.persistence.internal.oxm.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:198) at org.eclipse.persistence.internal.oxm.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:248) at org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:456) at org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:382) at org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.unmarshal(DOMUnmarshaller.java:162) at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:364) at org.eclipse.persistence.testing.oxm.mappings.XMLMappingTestCases.testXMLToObjectFromInputStream(XMLMappingTestCases.java:207)
Created attachment 215192 [details] Patch
This patch applies the JAXPPlatform fix from bug 219496 (No name space does not work with inheritance) to the XDKPlatform.
Fixed and checked into trunk (verified in Eclipse). Reviewed by mmacivor.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink