Hi,
I'm using lxml to verify an XML against an XRD schema, but I'm using some of the features of v1.1 which gave me an error during validation with lxml:
xrd snipped:
error generated by lxml:
xmlschema = etree.XMLSchema(xmlschema_doc)
File "src\lxml\xmlschema.pxi", line 88, in lxml.etree.XMLSchema.__init__
lxml.etree.XMLSchemaParseError: Element '{http://www.w3.org/2001/XMLSchema}element': The content is not valid. Expected is (annotation?, ((simpleType | complexType)?, (unique | key | keyref)*))., line 107
Line 107 is the part where a new feature is being used (test="...")
Is this a normal behavior of lxml? Are there plans to support v1.1 [ https://www.w3.org/TR/xmlschema11-1/#intro1.1 | https://www.w3.org/TR/xmlschema11-1/#intro1.1 ]
BR,
Jeroen