DARIAH-ERIC / lexicalresources

Data space of the DARIAH Lexical Resources Working Group
https://dariah-eric.github.io/lexicalresources/
BSD 2-Clause "Simplified" License
18 stars 24 forks source link

ODD schema not allowing <ref> w/in <xr> #36

Closed iljackb closed 5 years ago

iljackb commented 5 years ago

In the Lex0 section 5. Structured lexical references (xr/ref), the recommended structure of referenced forms includes structures such as the following (in which <xr> must have the child <ref>):

<xr>
   <ref type="translationEquivalent" xml:lang="fr">horrifier</ref>
</xr>

The schema is marking this as an error, I can't see why this is happening in looking at the ODD

laurentromary commented 5 years ago

Corrected: <ref> was simply missing from the spec :-}. Sorry.

iljackb commented 5 years ago

it still is marking the use of <xr type="crossReference"><ref xml:lang="la">accers-</ref></xr> as incorrect with the updated schema.. (UPDATE) this is due to the schema requiring @type on which shouldn't be the case as it is only supposed to be required on <xr>

laurentromary commented 5 years ago

ref/@type has been made mandatory :-)