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

Bug 365251

Summary: SAXUnmarshallerHandler - Throwing unnecessary errors on setSchema
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
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Core - Fix
none
Core - Fix (compile issue) none

Description Blaise Doughan CLA 2011-11-30 17:00:52 EST
Currently SAXUnmarshallerHandler is always calling setSchema on the SAXParserFactory even when the SAXParserFactory is not being used.  This is cause errors when the available SAXParserFactory does not support setSchema,
Comment 1 Blaise Doughan CLA 2011-11-30 17:02:24 EST
Created attachment 207764 [details]
Core - Fix
Comment 2 Blaise Doughan CLA 2011-11-30 17:08:19 EST
Fix checked into trunk at rev:  10480

Fix Details
Revereted SAXUnmarshallerHandler to the 2.3.2 version (but added support for location).  The global SAXParserFactory introduced in EclipseLink 2.4.0 was causing too many problems related to the setSchema call.
Comment 3 Blaise Doughan CLA 2011-12-01 09:53:40 EST
This fix is causing a compile error.
Comment 4 Blaise Doughan CLA 2011-12-01 09:55:40 EST
Created attachment 207789 [details]
Core - Fix (compile issue)
Comment 5 Blaise Doughan CLA 2011-12-01 09:57:36 EST
Compile issue resolved in trunk at rev:  10481
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:16:55 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:29:20 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink