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

Bug 347994

Summary: [Validation] @XmlSchema validation enhancements
Product: [WebTools] Dali JPA Tools Reporter: Paul Fullbright <paul.fullbright>
Component: JAXBAssignee: Paul Fullbright <paul.fullbright>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P2 CC: neil.hauge
Version: 3.0   
Target Milestone: Future   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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.