Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329398 - Schema Validation not working for all XML inputs
Summary: Schema Validation not working for all XML inputs
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: 2010-11-03 16:48 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:29 EDT (History)
2 users (show)

See Also:


Attachments
Core - Fix (6.28 KB, patch)
2010-11-03 16:53 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Fix (2.77 KB, patch)
2010-11-03 16:54 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Test Cases (23.50 KB, patch)
2010-11-05 15:47 EDT, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (6.95 KB, patch)
2010-11-05 15:48 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Fix (33.50 KB, patch)
2010-11-05 15:48 EDT, 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 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