Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316336 - Some XMLReaders do not like namespaces & namespace-prefixes features both set to true
Summary: Some XMLReaders do not like namespaces & namespace-prefixes features both set...
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-06-09 13:01 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:34 EDT (History)
1 user (show)

See Also:


Attachments
Core - Fix (3.15 KB, patch)
2010-06-09 13:05 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-06-09 13:01:59 EDT
Some implementations of XMLReader do not like the following SAX features both set to true:

http://xml.org/sax/features/namespaces 
http://xml.org/sax/features/namespace-prefixes 

Currently MOXy always sets both these features to true.
Comment 1 Blaise Doughan CLA 2010-06-09 13:05:52 EDT
Created attachment 171554 [details]
Core - Fix
Comment 2 Blaise Doughan CLA 2010-06-10 10:51:57 EDT
Fix checked into trunk at rev:  7586
Code reviewed by:  Rick Barkhouse

If this situation causes an error then unset the namespace-prefixes property.
Comment 3 Blaise Doughan CLA 2010-06-23 15:12:32 EDT
Fix backported to 2.1.1 at rev:  7668
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:34:56 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink