Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
N/A
-
None
Description
An xs:attribute with no type and no xs:simpleType child should default to xs:anySimpleType. Instead the whole schema fails to load, and the error message has nothing after the position.
SET @s= '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="r"><xs:complexType><xs:attribute name="x"/></xs:complexType></xs:element></xs:schema>'; |
SELECT XMLISVALID('<r x="1"/>', @s); |
ERROR HY000: Incorrect XML value: 'XML Schema parse error at line 1 pos 116: '
|