Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.11.0
-
None
-
None
Description
Let's say I have an XML Schema 1.1:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified"
vc:minVersion="1.1">
<xs:element name="root">
<xs:complexType>
<xs:attribute name="aaa" type="xs:ID"/>
</xs:complexType>
</xs:element>
</xs:schema>
and I validate with XML Schema 1.1 features enabled an XML which refers to it:
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="testxsd.xsd" aaa="ϛ"/>
The validation reports that character "ϛ" is not valid according to the specs:
cvc-attribute.3: The value 'ϛ' of attribute 'aaa' on element 'root' is not valid with respect to its type, 'ID'.
But if you look at the definition in XML Schema 1.1 of the ID attribute type:
http://www.w3.org/TR/xmlschema11-2/#ID
it refers to:
http://www.w3.org/TR/xml11/#NT-TokenizedType
which eventually refers to a name start char production:
http://www.w3.org/TR/xml11/#NT-NameStartChar
which completely allows characters from this interval: