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

JENA-1982: SPARQL unicode escapes #820

Merged
merged 2 commits into from
Oct 29, 2020
Merged

Conversation

afs
Copy link
Member

@afs afs commented Oct 26, 2020

Note:

This changes SPARQL - specifically Syntax.ARQ.
Syntax.SPARQL_11 remains untouched.

Syntax.ARQ ("with extensions") is the default in jena-arq and also used in Fuseki.

See discussion:

SPARQL and Turtle differ in the way they handle \u and \U escapes.

In SPARQL, they can appear anywhere (even for special characters). ARQ does not support \U .

In Turtle, \u and \U can appear in strings and URIs, not in prefix names, and nowhere else. This is a better design.

@afs afs merged commit 72cdb2b into apache:master Oct 29, 2020
@afs afs deleted the jena1982-sparql-unicode branch October 29, 2020 17:51
@afs
Copy link
Member Author

afs commented Oct 29, 2020

This is quite easy to reverse if necessary.

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.

1 participant