- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Wed, 3 Jul 2013 11:18:33 -0400
- To: David Robillard <d@drobilla.net>
- Cc: public-rdf-comments@w3.org
* David Robillard <d@drobilla.net> [2013-03-31 13:42-0400] > The new LITERAL* tests added to the Turtle test suite are inconsistent > with the other tests in two ways: > > 1) Escapes are written in lower case, e.g. \u000b instead of \u000B > > 2) In some output files, characters are escaped where there is no need > to escape, so implementations are unlikely to produce such a file > > 3) In literal1_all_punctuation.nt, quote is escaped as \u0022, but \" is > allowable in ntriples and is used in several other test outputs. > > Attached is a diff fixing these issues. As with my previous patches, > they should be identical triple-wise and not break anything capable of > passing the old high-level suite, but make it possible for > implementations to pass based on exact byte-level comparison. Hello David, apologies for the late reply. Initially, the working group was reluctant to again change touch the tests and I was instructed to decline your patches. We have since moved them to a new directory and updated them to reflect that base URI. Since everyone will have to re-run the tests anyways, I have included your patches in the hopefully final version. If this resolution addresses your issues, please respond to this message with a subject line which starts with "[RESOLVED]". Thank you for your help in improving the Turtle specification. > -dr > > diff -r cba4dc71171f rdf-turtle/tests-ttl/LITERAL1_all_controls.nt > --- a/rdf-turtle/tests-ttl/LITERAL1_all_controls.nt Thu Mar 28 14:50:26 2013 +0100 > +++ b/rdf-turtle/tests-ttl/LITERAL1_all_controls.nt Sun Mar 31 13:34:56 2013 -0400 > @@ -1,1 +1,1 @@ > -<http://a.example/s> <http://a.example/p> "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009\u000b\u000c\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f" . > +<http://a.example/s> <http://a.example/p> "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\t\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F" . > diff -r cba4dc71171f rdf-turtle/tests-ttl/LITERAL1_all_punctuation.nt > --- a/rdf-turtle/tests-ttl/LITERAL1_all_punctuation.nt Thu Mar 28 14:50:26 2013 +0100 > +++ b/rdf-turtle/tests-ttl/LITERAL1_all_punctuation.nt Sun Mar 31 13:34:56 2013 -0400 > @@ -1,1 +1,1 @@ > -<http://a.example/s> <http://a.example/p> " !\u0022#$%&():;<=>?@[]^_`{|}~" . > +<http://a.example/s> <http://a.example/p> " !\"#$%&():;<=>?@[]^_`{|}~" . > diff -r cba4dc71171f rdf-turtle/tests-ttl/LITERAL1_ascii_boundaries.nt > --- a/rdf-turtle/tests-ttl/LITERAL1_ascii_boundaries.nt Thu Mar 28 14:50:26 2013 +0100 > +++ b/rdf-turtle/tests-ttl/LITERAL1_ascii_boundaries.nt Sun Mar 31 13:34:56 2013 -0400 > @@ -1,1 +1,1 @@ > -<http://a.example/s> <http://a.example/p> "\u0000\u0009\u000b\u000c\u000e\u0026\u0028\u005b\u005d\u007f" . > +<http://a.example/s> <http://a.example/p> "\u0000\t\u000B\u000C\u000E&([]\u007F" . > diff -r cba4dc71171f rdf-turtle/tests-ttl/LITERAL2_ascii_boundaries.nt > --- a/rdf-turtle/tests-ttl/LITERAL2_ascii_boundaries.nt Thu Mar 28 14:50:26 2013 +0100 > +++ b/rdf-turtle/tests-ttl/LITERAL2_ascii_boundaries.nt Sun Mar 31 13:34:56 2013 -0400 > @@ -1,1 +1,1 @@ > -<http://a.example/s> <http://a.example/p> "\u0000\u0009\u000b\u000c\u000e\u0021\u0023\u005b\u005d\u007f" . > +<http://a.example/s> <http://a.example/p> "\u0000\t\u000B\u000C\u000E!#[]\u007F" . > diff -r cba4dc71171f rdf-turtle/tests-ttl/LITERAL_LONG1_ascii_boundaries.nt > --- a/rdf-turtle/tests-ttl/LITERAL_LONG1_ascii_boundaries.nt Thu Mar 28 14:50:26 2013 +0100 > +++ b/rdf-turtle/tests-ttl/LITERAL_LONG1_ascii_boundaries.nt Sun Mar 31 13:34:56 2013 -0400 > @@ -1,1 +1,1 @@ > -<http://a.example/s> <http://a.example/p> "\u0000\u0026\u0028\u005b\u005d\u007f" . > +<http://a.example/s> <http://a.example/p> "\u0000&([]\u007F" . > diff -r cba4dc71171f rdf-turtle/tests-ttl/LITERAL_LONG2_ascii_boundaries.nt > --- a/rdf-turtle/tests-ttl/LITERAL_LONG2_ascii_boundaries.nt Thu Mar 28 14:50:26 2013 +0100 > +++ b/rdf-turtle/tests-ttl/LITERAL_LONG2_ascii_boundaries.nt Sun Mar 31 13:34:56 2013 -0400 > @@ -1,1 +1,1 @@ > -<http://a.example/s> <http://a.example/p> "\u0000\u0021\u0023\u005b\u005d\u007f" . > +<http://a.example/s> <http://a.example/p> "\u0000!#[]\u007F" . > diff -r cba4dc71171f rdf-turtle/tests-ttl/LITERAL_with_UTF8_boundaries.nt > --- a/rdf-turtle/tests-ttl/LITERAL_with_UTF8_boundaries.nt Thu Mar 28 14:50:26 2013 +0100 > +++ b/rdf-turtle/tests-ttl/LITERAL_with_UTF8_boundaries.nt Sun Mar 31 13:34:56 2013 -0400 > @@ -1,1 +1,1 @@ > -<http://a.example/s> <http://a.example/p> "\u0080\u07ff\u0800\u0fff\u1000\ucfff\ud000\ud7ff\ue000\uffff\U00010000\U0003ffff\U00040000\U000fffff\U00100000\U0010fffd" . > +<http://a.example/s> <http://a.example/p> "\u0080\u07FF\u0800\u0FFF\u1000\uCFFF\uD000\uD7FF\uE000\uFFFF\U00010000\U0003FFFF\U00040000\U000FFFFF\U00100000\U0010FFFD" . -- -ericP
Received on Wednesday, 3 July 2013 15:19:05 UTC