erc-dharma / project-documentation

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

value "overstrike" for @place in <add> not recognized #234

Open arlogriffiths opened 11 months ago

arlogriffiths commented 11 months ago

Dear @michaelnmmeyer,

I believe this bit of code from a <rdg> (i.e. in a context where EGD rules apply) in our file DHARMA_CritEdSvayambhu.xml to be compliant with EGD. Yet it is marked as erroneous by the schema.

<subst><del>h</del><add place="overstrike">t</add></subst>

error message: value of attribute "place" is invalid; token "overstrike" invalid; must be equal to "above", "below", "bottom", "inline" or "top"

Do you know why and can still small issue be resolved?

michaelnmmeyer commented 11 months ago

Dear @arlogriffiths,

Can you send me the file in question?

arlogriffiths commented 11 months ago

My message indicated the file name. Anyhow, here it is:

https://github.com/erc-dharma/tfd-nusantara-philology/blob/master/editions/DHARMA_CritEdSvayambhu.xml

michaelnmmeyer commented 10 months ago

Is this working for you now?

arlogriffiths commented 10 months ago

I still get the same complaint in VSC. See screenshot.

Capture d’écran 2023-12-15 à 11 40 02
michaelnmmeyer commented 10 months ago

This validates fine for me, both in Oxygen and VSC.

I believe this is due to https://github.com/erc-dharma/project-documentation/issues/221#issuecomment-1584422871, which we have not addressed. The only practical way to fix it is to wipe out VSC completely and to reinstall it. We can do that together if you want.

arlogriffiths commented 9 months ago

ok, let's do that when you're available

arlogriffiths commented 7 months ago

shall we do it today? contact me when you're available.

arlogriffiths commented 5 months ago

you never got back to me. I have in the meantime wiped out my old VSC and reinstalled, but the warning still occurs.

Capture d’écran 2024-05-17 à 18 21 18

it's not a big issue and yet it would be nice if entirely good code were understood to be good also by our machines.