-
Notifications
You must be signed in to change notification settings - Fork 126
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
Improve N3Writer Support For Gist Style Guide Instances #302
Comments
Underscores are not allowed at the start of a prefix according to the turtle production grammar and I don't imagine any other grammars for the RDF syntaxes supported by this library would be different (though if they are any please correct me!). |
I am sorry for the confusion: its an underscore at the start of a local name. For example:
But with the current implementation the writer would produce the following:
|
@e2dubba -- Both your "should" and "current" examples include the invalid I'm guessing that was intended to be This error makes me wonder if there are other errors in your comment, which I suggest you review and revise to be certain it's saying what you intend. |
@TallTed, thank you for pointing out the typos in my comment. I had forgotten to include the prefix (the very thing we are talking about). But it is corrected now. |
According to the Gist Style guide (and other conventions), Instance local names start with an underscore, the N3Writer currently expects all prefixed local names to start with an alphabetic character.
Is there a reason we wouldn't want underscores to be recognized by this Regex?
This issue has been addressed in this pr
The text was updated successfully, but these errors were encountered: