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

full_example.ttl contains invalid U+200B characters #68

Open
cmungall opened this issue Jan 7, 2022 · 0 comments
Open

full_example.ttl contains invalid U+200B characters #68

cmungall opened this issue Jan 7, 2022 · 0 comments
Assignees

Comments

@cmungall
Copy link

cmungall commented Jan 7, 2022

This file has unusual unicode zero-space-width U+200B line separator characters:

https://github.com/RDA-DMP-Common/RDA-DMP-Common-Standard/blob/master/ontologies/validation/full_example.ttl

If I try and run through a standard RDF processing tool like Apache-Jena riot, I get:

17:12:36 ERROR riot            :: [line: 26, col: 1 ] Failed to find a prefix name or keyword: ​(8203;0x200B)

The lines look normal here:

but actually it looks like this:

<U+200B>
<U+200B>
<U+200B>
#################################################################
#    Individuals
#################################################################
<U+200B>
###  https://w3id.org/dcso/id/example/contact_1
ex:contact_1 rdf:type owl:NamedIndividual ,
                      dcso:Contributor ;
             dcso:hasContactId ex:id_1 ;
             foaf:mbox "rleite@igc.gulbenkian.pt" ;
             dcso:role "project leader" ;
             foaf:name "Ricardo Leite" .
<U+200B>
<U+200B>
cmungall added a commit to cmungall/RDA-DMP-Common-Standard that referenced this issue Jan 7, 2022
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

3 participants