Open arlogriffiths opened 3 months ago
This is an issue with your VSCode setup (we talked about it a while ago, it is still not resolved).
I would advise you to try out the "XML Language Support by Red Hat" extension: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml. It is actively maintained and has 6 millions users (vs. 10,000 for "Scholarly XML"), so bugs are more likely to be sorted out. You need to disable the "Scholarly XML" extension while trying out Red Hat XML (and the reverse if you want to go back to "Scholarly XML").
I am now using RedHat. The option "mixed" is still not offered.
I forced a schema update, you might want to try again. I cannot reproduce the issue on my side.
Commenting out the following lines might also help:
<?xml-model href="https://epidoc.stoa.org/schema/latest/tei-epidoc.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://epidoc.stoa.org/schema/latest/tei-epidoc.rng" schematypens="http://purl.oclc.org/dsdl/schematron"?>
VSC protests softly against @unit="mixed" but does not invalidate the file and display is already correct.
why does VSC complain?