-
Notifications
You must be signed in to change notification settings - Fork 164
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
Language tags in RDF4j #1292
Comments
Hi, The (default) The ValidatingValueFactory should check the conformity of the language tag... if that's not the case, then it is a bug... |
Hi, I tried with ValidatingValueFactory and it checks the conformity of language tags. Thanks for pointing out in the right direction. Best, |
Ok, seems to work like expected, so I'll close the ticket |
Might be added to doc/programming/02-model-api.adoc |
Issues/#1292 validation factory
When creating a literal, we can provide any language tag and RDF4J accepts it. It doesn't conform with the standards [https://www.w3.org/TR/rdf11-concepts/#bib-BCP47].
Forexample, RDF4J doesn't report for literal (France@en,en). I can create this literal, although it is not a valid language tag. But when I tried to read the file with this defined literal as Turtle, it complains as it is not a valid turtle file. But rdf-xml serialization works fine with this literal. Also we can define language tags in camel case (France@wrongLanguage).
It is intentional or it is a bug at your side?
Thanks,
Mahek Hanfi
Semantic Web Company
The text was updated successfully, but these errors were encountered: