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

Added support for single-quoted Turtle string literals. #326

Merged
merged 3 commits into from
Nov 7, 2013

Conversation

alexdutton
Copy link
Contributor

Fixes #325.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) when pulling 9f7a1ed on ox-it:master into ec7bd49 on RDFLib:master.

@alexdutton
Copy link
Contributor Author

Ah, sorry for not being clear. The N3 syntax doesn't allow single quotes around strings, so this will accept invalid N3. I'll get a test or two written, see about keeping the N3 parser as strict as it used to be, and update the pull request

@alexdutton
Copy link
Contributor Author

So, the N3 parser is now no less strict, and there's a test in place to check that the Turtle parser accepts 'x' and '''x''' for strings, and that the N3 parser rejects it.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) when pulling 59636b0 on ox-it:master into ec7bd49 on RDFLib:master.

gromgull added a commit that referenced this pull request Nov 7, 2013
Added support for single-quoted Turtle string literals.
@gromgull gromgull merged commit 1c6708e into RDFLib:master Nov 7, 2013
@gromgull
Copy link
Member

gromgull commented Nov 7, 2013

Great, thanks! (and apologies for the terrible ping)

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

Successfully merging this pull request may close these issues.

Notation3 parser doesn't accept single-quoted strings when parsing Turtle
3 participants