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

Bug 335359

Summary: Unmarshal validation not working with SAXSource
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    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
MOXy - Test Cases
none
Core - Fix
none
Core - Fix none

Description Blaise Doughan CLA 2011-01-25 13:27:05 EST
When unmarshalling from a SAXSource validation is not occuring when an XML schema is set on the Unmarshaller.
Comment 1 Blaise Doughan CLA 2011-01-25 13:31:15 EST
Created attachment 187557 [details]
MOXy - Test Cases
Comment 2 Blaise Doughan CLA 2011-01-25 14:59:52 EST
Created attachment 187563 [details]
Core - Fix

If a Schema was set on the unmarshaller then wrap the ContentHandler in a ValidatorHandler.
Comment 3 Blaise Doughan CLA 2011-01-25 15:10:29 EST
Created attachment 187568 [details]
Core - Fix
Comment 4 Blaise Doughan CLA 2011-01-25 16:29:24 EST
Fix checked into trunk at rev: 8885

Code reviewed by:  David McCann
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:16:12 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:31:25 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink