Closed xml-project closed 2 years ago
As @ndw pointed out for options in the standard step library , it is an error to declare an option with as="xs:token" and then give restricting values that are strings. This is also done in p:validate-with-xml-schema:
as="xs:token"
<p:option name="mode" select="'strict'" as="xs:token" values="('strict','lax')"/>
I think the solution from the standard step library also applies here: Remove the type declaration for the option.
Fixed with #513
As @ndw pointed out for options in the standard step library , it is an error to declare an option with
as="xs:token"
and then give restricting values that are strings. This is also done in p:validate-with-xml-schema:I think the solution from the standard step library also applies here: Remove the type declaration for the option.