Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
2.9.0
-
None
-
None
Description
According to Section 3.15.2 of the XML Schema Specification, a targetNamespace attribute with empty content must be considered as an error.
http://www.w3.org/TR/xmlschema-1/#declare-schema
The 3rd paragraph below the table in the spec says:
Since the empty string is not a legal namespace name, supplying an empty string for targetNamespace is incoherent, and is not the same as not specifying it at all.
Xerces 2.9.0 considers a schema with empty content in the targetNamespace as a valid schema.