Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335359 - Unmarshal validation not working with SAXSource
Summary: Unmarshal validation not working with SAXSource
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: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 13:27 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:31 EDT (History)
0 users

See Also:


Attachments
MOXy - Test Cases (2.37 KB, patch)
2011-01-25 13:31 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (3.09 KB, application/octet-stream)
2011-01-25 14:59 EST, Blaise Doughan CLA
no flags Details
Core - Fix (3.12 KB, patch)
2011-01-25 15:10 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 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