XSD 1.1 schema error on openContent

Hello,

developing an XML Schema validator for Python I found a pair of problems 
with XSD 1.1 schema (http://www.w3.org/2012/04/XMLSchema.xsd and 
https://www.w3.org/2012/04/datatypes.xsd).

1) builtin list types (NMTOKENS, IDREFS and ENTITIES) are not defined in 
datatypes.xsd (but they was in XSD 1.0 schema, so this could also be a 
choice)

2) openContent/defaultOpenContent definitions appear to be missing the 
definition of notQName attribute in their wildcards.

I can resolve this in my code using an additional schema with an 
override of XMLSchema.xsd 
(https://github.com/sissaschool/xmlschema/blob/c205a913b6236cee09957c4679f0d42b1c6a7087/xmlschema/schemas/XSD_1.1/xsd11-extra.xsd), 
but i report this in case these are errors, in particular the 2nd problem.

Best regards

Davide Brunato

-- 
_____________________________________________________
Davide Brunato

SISSA - International School for Advanced Studies
Information Technology and Computing Services
via Bonomea 265 - 34136 Trieste - Italy
tel: +39-040-3787538
e-mail: brunato@sissa.it
web: http://itcs.sissa.it, http://www.sissa.it

Received on Wednesday, 14 September 2022 11:07:17 UTC