erc-dharma / project-documentation

DHARMA Project Documentation
Creative Commons Attribution 4.0 International
3 stars 3 forks source link

<citedRange unit="mixed"> #309

Open arlogriffiths opened 6 months ago

arlogriffiths commented 6 months ago

VSC protests softly against @unit="mixed" but does not invalidate the file and display is already correct.

Capture d’écran 2024-05-22 à 14 02 27

why does VSC complain?

michaelnmmeyer commented 6 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").

arlogriffiths commented 4 months ago

I am now using RedHat. The option "mixed" is still not offered.

Capture d’écran 2024-07-31 à 11 03 39
michaelnmmeyer commented 4 months ago

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"?>