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

Bug 342487

Summary: Improve @XmlRootBinding API
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: gregory.amerson
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2011-04-11 15:47:51 EDT
There are a few issues with the key @XmlRootBinding annotation that need resolving:

1. It doesn't integrate @XmlNamespace annotation, instead having its own namespace() attribute.

2. It assumes that the content model is XSD via the schemaLocation() attribute. I have implemented a short-term hack as part of the fix for Bug 342371 to look for schemaLocation() strings that end with ".dtd", but we need more formal declaration of the content model type. Ideally, the new API should support pluggable content models as there are more content models than XSD and DTD.
Comment 1 Konstantin Komissarchik CLA 2011-11-10 21:55:10 EST

*** This bug has been marked as a duplicate of bug 355751 ***