Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365251 - SAXUnmarshallerHandler - Throwing unnecessary errors on setSchema
Summary: SAXUnmarshallerHandler - Throwing unnecessary errors on setSchema
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-11-30 17:00 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:29 EDT (History)
1 user (show)

See Also:


Attachments
Core - Fix (12.41 KB, patch)
2011-11-30 17:02 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (compile issue) (938 bytes, patch)
2011-12-01 09:55 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-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