Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
2.11.0
-
None
-
None
Description
If I validate the following schema I get a validation error that is correct. But the message of the error should contain 'test' element name instead of ''test_fn3dktizrknc9pi''.
I tested on the xml-schema-1.1-dev branch.
The validation error:
src-resolve: Cannot resolve the name 'test_fn3dktizrknc9pi' to a 'type definition' component.
------- schema.xsd ----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:redefine schemaLocation="">
<xs:complexType name="test">
<xs:complexContent>
<xs:restriction base="test">
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
</xs:schema>
-------------------------------------------------------------