- From: Andy Seaborne <andy@apache.org>
- Date: Tue, 12 May 2026 11:46:16 +0100
- To: public-rdf-star-wg@w3.org
On 12/05/2026 10:54, Pierre-Antoine Champin wrote:
> * Jena, ... consider it as a string of length 2
Not quite.
With SPARQL 1.2 strict syntax, it's 1.
In general use syntax, it's 2.
This has not been a problem, probably because \ does not need to be a
numeric escape.
This reflects earlier discussions and a sense then that the Turtle way,
including limiting escape sequences replacement in URIs and literals is
better.
https://github.com/w3c/sparql-query/issues/164
https://github.com/w3c/rdf-tests/pull/151#issuecomment-2446744098
https://github.com/w3c/rdf-tests/tree/main/sparql/sparql12/codepoint-escapes
Unrestricted \u allows for obfuscation attacks.
I think we should change it.
The fact that there is variability across systems suggests to me that
the impact is low.
Others will argue for perfect compatibility.
Andy
Received on Tuesday, 12 May 2026 10:47:41 UTC