Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid RDF #18

Open
kernc opened this issue Dec 17, 2020 · 0 comments
Open

Invalid RDF #18

kernc opened this issue Dec 17, 2020 · 0 comments

Comments

@kernc
Copy link
Contributor

kernc commented Dec 17, 2020

The transformation, applied e.g. on TEI dictionary moses.xml, produces invalid RDF/XML.

W3C RDF Validator complains:

Error: {E202} Cannot have both string data "hamhampúl" and XML data <dct:source> inside a property element. Maybe you want rdf:parseType='Literal'.[Line = 16, Column = 76]

The culprit contents being:

<ontolex:phoneticRep xml:lang="">
    hamhampúl<dct:source>ECH</dct:source>
    həmhəmpúl<dct:source>EP4.55.9</dct:source>
</ontolex:phoneticRep>

Should this work?

Contrary to #17, this TEI document validates. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant