Community
Participate
Working Groups
CDATA won't work with marshal to contenthandler method. We should 1- During marshal see if the contenthandler also implements lexicalhandler and if yes than pass it along (instead of null). 2- Modify SAXDocumentBuilder to implement LexicalHandler To recreate go to test package org.eclipse.persistence.testing.jaxb.externalizedmetadata.mappings.directcollection.DirectCollectionMappingTestCases and delete the empty testObjectToContentHandler method
Additionally delete the same empty method in org.eclipse.persistence.testing.jaxb.externalizedmetadata.mappings.direct.DirectMappingTestCases
Another test to be updated org.eclipse.persistence.testing.jaxb.annotations.xmlnullpolicy.XmlNullPolicyTestCases
Another test with the empty method org.eclipse.persistence.testing.jaxb.annotations.cdata.XmlCDATATestCases and XmlCDATAOverrideTestCases
Another test with empty method: org.eclipse.persistence.testing.jaxb.annotations.cdata.UnmappedCDATATestCases
Fixed as a part of patch for a bug no 534812. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=534812
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink