Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347994 - [Validation] @XmlSchema validation enhancements
Summary: [Validation] @XmlSchema validation enhancements
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JAXB (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows Vista
: P2 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Paul Fullbright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 14:53 EDT by Paul Fullbright CLA
Modified: 2013-10-08 11:06 EDT (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 Paul Fullbright CLA 2011-06-01 14:53:18 EDT
@XmlSchema has validation for attribute/elementFormDefault, but could have the following validation enhancements:

namespace - There is a warning on the JAXB package that validation will not be performed for an unrecognized namespace, but that applies to defaults as well as specified namespace on a package-info.java.  There could be a warning on an unrecognized specified package on a package-info as well.

xmlns - There could be warnings for unrecognized namespaces if a schema can be resolved.  (Should handle universal namespaces such as xsd, xsi)  There could also be warnings if recognized namespaces from the schema are not listed.  Further investigation should be done in this area to see if this is appropriate.
Comment 1 Paul Fullbright CLA 2011-11-15 12:08:33 EST
To update:

namespace - if there is a package-info.java, place the warning on the actual namespace element (or just the package-info.java file).

xmlns - add validation for unrecognized namespaces.  Don't add validation for unspecified namespaces - they don't *have* to be listed.
Comment 2 Neil Hauge CLA 2013-04-30 12:35:58 EDT
Deferred to 3.4.