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:
      <xs:element minOccurs ="0" maxOccurs="unbounded" name="parameter">
        <xs:alternative type="parameterTypeVoid" test="@type = 'void'"/>
        <xs:alternative type="parameterTypeVarArgs" test="@type = ''"/>
        <xs:alternative type="parameterTypeNormal" />
        <xs:unique name="UniqueAliasName">
          <xs:selector xpath="alias" />
          <xs:field xpath="@name" />
        </xs:unique>
      </xs:element>

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
BR,

Jeroen