-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Milestone
Description
The current Turtle file is valid according to the grammar:
[] <tag:> "foo"@abcde .
However, abcde is not a valid BCP47 language tag, so the produced graph is not valid according to the RDF abstract syntax.
Currently, Sophia blindly trusts the output of the parsers, creating the corresponding language rag with LanguageTag::new_unchecked, which results in a value violating the contract of its type.
The output of parsers should therefore be checked, at least for the language tags.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels