Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.11.0
-
None
Description
http://apache.org/xml/properties/validation/schema/root-element-declaration
http://apache.org/xml/properties/validation/schema/root-type-definition
These properties accept QNames. The namespace part of the QName is sometimes compared with other namespace values using ==, because most namespace values in Xerces are interned. This comparison fails when the QName's namespace is not interned. This will in turn cause other errors, e.g.
[Error] test.xsd:4:31: TargetNamespace.1: Expecting namespace 'test', but the target namespace of the schema document is 'test'.