The Feature Request: https://issues.jboss.org/browse/WFLY-3014
Does not address the actual issue.
- It is understood that we do not validate the xml with the "schemaLocation". However there are some users who reads the XSD via valid schemaLocation and parse them according to their requirement for XML processing.
- The XSDs that are shipped with wildfly uses a non existing "schemaLocation". For example: "jboss-web_8_0.xsd"
- The schema location points to http://www.jboss.org/j2ee/schema/jboss-web_8_0.xsd (causes 404 http response) Where as all those XSDs are actually present in another location, http://www.jboss.org/schema/jbossas/ So for the "jboss-web_8_0.xsd" the correct schemaLocation should be http://www.jboss.org/schema/jbossas/jboss-web_8_0.xsd
So in order to avoid confusion to the users who are more familiar with XML/XSD naming the "schemaLocation" should be corrected in all the XSDs.
Expectation: Either the XSDs should point to a valid existing URL. Or the XSDs should be corrected to alter the Schema locations from non-existing http://www.jboss.org/j2ee/schema/ (which has very few XSDs) to http://www.jboss.org/schema/jbossas/ (which has almost all the updated xsds)