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

Bug 329398

Summary: Schema Validation not working for all XML inputs
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.oxm-inbox, fabrizio.fortino
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Core - Fix
none
MOXy - Fix
none
MOXy - Test Cases
none
Core - Fix
none
MOXy - Fix none

Description Blaise Doughan CLA 2010-11-03 16:48:03 EDT

    
Comment 1 Blaise Doughan CLA 2010-11-03 16:53:28 EDT
Created attachment 182330 [details]
Core - Fix
Comment 2 Blaise Doughan CLA 2010-11-03 16:54:11 EDT
Created attachment 182331 [details]
MOXy - Fix
Comment 3 Blaise Doughan CLA 2010-11-05 15:47:44 EDT
Created attachment 182520 [details]
MOXy - Test Cases
Comment 4 Blaise Doughan CLA 2010-11-05 15:48:07 EDT
Created attachment 182521 [details]
Core - Fix
Comment 5 Blaise Doughan CLA 2010-11-05 15:48:26 EDT
Created attachment 182522 [details]
MOXy - Fix
Comment 6 Blaise Doughan CLA 2010-11-08 15:07:26 EST
Fix checked into trunk at:  8480

When validation is required for one of the specialized readers (DOMReader, XMLStreamReaderReader, XMLEventReaderReader) a ValidatorHandler is leveraged to do the schema validation.

This fix also includes some handling of null input parameters to the JAXB unmarshaller.

Code reviewed by:  Matt MacIvor
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:29:24 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink