Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342487 - Improve @XmlRootBinding API
Summary: Improve @XmlRootBinding API
Status: CLOSED DUPLICATE of bug 355751
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 15:47 EDT by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***