XSD not allowing <semantics>-element as child of <apply>-element #498
Labels
MathML 4
Issues affecting the MathML 4 specification
need specification update
Issues requiring specification changes
Dear maintainers,
thank you very much for providing MathML and taking care of it!
I want to semantically annotate operators in a formula, which seems to be a perfect use-case for the
<semantics>
-element. A minimal working example (MWE) for my application is very similiar to the last example of subsection 4.2.1.3:mathml_mwe.xml
:However, if I validate either the MWE or the mentioned example in the documentation against the XSD, both result in (something like) this:
Similiar errors arise, if only the
<csymbol>
-element or the<ci>
-element is semantically annotated. It seems, like the schema does not allow a<semantics>
-child inside an<apply>
-element. My questions are therefore: Is this behaviour intended? Am I using the<semantics>
-element in a wrong way? Might this be a problem with my validation script? Or does the schema need an adjustment?Best regards
Maximilian
I am validating using Python and xmlschema as follows:
mathml_validate.py
:The text was updated successfully, but these errors were encountered: