Re: changes to TurtleTests since inception

~ normalized to upper case \u and \U XXXX codes per current ntriples spec
~ fixed remaining unicode noncharacters
(diffs attached)
Greg Williams reported in #swig that this fixed his issues:
  2013-06-27T19:53:29Z <kasei> ah. seems so. not seeing any problems with the new tarball.


* Eric Prud'hommeaux <eric@w3.org> [2013-06-26 11:56-0400]
> There are three sets of changes:
>   jeremy's tests and minor re-ordering.diff
>   david robillard's for ascii-ntriples consistency.diff
>   ericP's changing all literals with U+FFFF to U+FFFD
> 
> Attached are diffs for the first two and ,v files for everything.
> -- 
> -ericP

> --- /TurtleTests/manifest.ttl 2013-06-26 11:29:37.185520629 -0400
> +++ /TurtleTests/manifest.ttl 2013-06-26 11:29:37.193520629 -0400
> @@ -43,7 +43,6 @@
>      <#localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries>
>      <#localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries>
>      <#localName_with_nfc_PN_CHARS_BASE_character_boundaries>
> -#    <#localName_with_PN_CHARS_BASE_character_boundaries>
>      <#localName_with_leading_underscore>
>      <#localName_with_leading_digit>
>      <#localName_with_non_leading_extras>
> @@ -119,6 +118,20 @@
>      <#repeated_semis_at_end>
>      <#repeated_semis_not_at_end>
>  
> +    # tests requested by Jeremy Carroll
> +    # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c35
> +    <#comment_following_localName>
> +    <#number_sign_following_localName>
> +    <#comment_following_PNAME_NS>
> +    <#number_sign_following_PNAME_NS>
> +
> +    # tests from Dave Beckett
> +    # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c28
> +    <#LITERAL_LONG2_with_REVERSE_SOLIDUS>
> +    <#turtle-syntax-bad-LITERAL2_with_langtag_and_datatype>
> +    <#two_LITERAL_LONG2s>
> +    <#langtagged_LONG_with_subtag>
> +
>      # original tests-ttl
>      <#turtle-syntax-file-01>
>      <#turtle-syntax-file-02>
> @@ -295,13 +308,6 @@
>      <#turtle-eval-bad-03>
>      <#turtle-eval-bad-04>
>  
> -    # tests from Dave Beckett
> -    # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c28
> -    <#LITERAL_LONG2_with_REVERSE_SOLIDUS>
> -    <#turtle-syntax-bad-LITERAL2_with_langtag_and_datatype>
> -    <#two_LITERAL_LONG2s>
> -    <#langtagged_LONG_with_subtag>
> -
>      # tests from David Robillard
>      # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21
>      <#turtle-syntax-bad-blank-label-dot-end>
> @@ -440,14 +446,6 @@
>     mf:result    <localName_with_nfc_PN_CHARS_BASE_character_boundaries.nt> ;
>     .
>  
> -<#localName_with_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ;
> -   mf:name      "localName_with_PN_CHARS_BASE_character_boundaries" ;
> -   rdfs:comment "localName with PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ;
> -   rdft:approval rdft:Rejected ;
> -   mf:action    <localName_with_PN_CHARS_BASE_character_boundaries.ttl> ;
> -   mf:result    <localName_with_PN_CHARS_BASE_character_boundaries.nt> ;
> -   .
> -
>  <#default_namespace_IRI> rdf:type rdft:TestTurtleEval ;
>     mf:name      "default_namespace_IRI" ;
>     rdfs:comment "default namespace IRI (:ln)" ;
> @@ -2344,6 +2342,40 @@
>     mf:action    <turtle-eval-bad-04.ttl> ;
>     .
>  
> +# tests requested by Jeremy Carroll
> +# http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c35
> +<#comment_following_localName> rdf:type rdft:TestTurtleEval ;
> +   mf:name      "comment_following_localName" ;
> +   rdfs:comment "comment following localName" ;
> +   rdft:approval rdft:Proposed ;
> +   mf:action    <comment_following_localName.ttl> ;
> +   mf:result    <IRI_spo.nt> ;
> +   .
> +
> +<#number_sign_following_localName> rdf:type rdft:TestTurtleEval ;
> +   mf:name      "number_sign_following_localName" ;
> +   rdfs:comment "number sign following localName" ;
> +   rdft:approval rdft:Proposed ;
> +   mf:action    <number_sign_following_localName.ttl> ;
> +   mf:result    <number_sign_following_localName.nt> ;
> +   .
> +
> +<#comment_following_PNAME_NS> rdf:type rdft:TestTurtleEval ;
> +   mf:name      "comment_following_PNAME_NS" ;
> +   rdfs:comment "comment following PNAME_NS" ;
> +   rdft:approval rdft:Proposed ;
> +   mf:action    <comment_following_PNAME_NS.ttl> ;
> +   mf:result    <comment_following_PNAME_NS.nt> ;
> +   .
> +
> +<#number_sign_following_PNAME_NS> rdf:type rdft:TestTurtleEval ;
> +   mf:name      "number_sign_following_PNAME_NS" ;
> +   rdfs:comment "number sign following PNAME_NS" ;
> +   rdft:approval rdft:Proposed ;
> +   mf:action    <number_sign_following_PNAME_NS.ttl> ;
> +   mf:result    <number_sign_following_PNAME_NS.nt> ;
> +   .
> +
>  # tests from Dave Beckett
>  # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c28
>  <#LITERAL_LONG2_with_REVERSE_SOLIDUS> rdf:type rdft:TestTurtleEval ;

> 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 Thursday, 27 June 2013 20:12:37 UTC