TriG bad syntax tests for bare collections
authorAndy Seaborne <andy.seaborne@apache.org>
Thu, 21 Nov 2013 22:20:03 +0000
changeset 1382 5dc42bf1ba30
parent 1381 6e3b9c7a8416
child 1383 e700d59e5f26
TriG bad syntax tests for bare collections
trig/tests/manifest.ttl
trig/tests/trig-syntax-bad-list-01.trig
trig/tests/trig-syntax-bad-list-02.trig
trig/tests/trig-syntax-bad-list-03.trig
trig/tests/trig-syntax-bad-list-04.trig
--- a/trig/tests/manifest.ttl	Wed Nov 20 14:36:47 2013 -0800
+++ b/trig/tests/manifest.ttl	Thu Nov 21 22:20:03 2013 +0000
@@ -18,367 +18,372 @@
     mf:name "TriG tests" ;
     mf:entries
     (
-    # TriG specific tests
-    <#anonymous_blank_node_graph>
-    <#labeled_blank_node_graph>
-    <#alternating_iri_graphs>
-    <#alternating_bnode_graphs>
-    <#trig-syntax-bad-base-04>
-    <#trig-syntax-bad-base-05>
-    <#trig-syntax-bad-prefix-06>
-    <#trig-syntax-bad-prefix-07>
-    <#trig-syntax-struct-06>
-    <#trig-syntax-struct-07>
-    <#trig-syntax-minimal-whitespace-01>
-
-    # From Turtle tests
-    # atomic tests
-    <#IRI_subject>
-    <#IRI_with_four_digit_numeric_escape>
-    <#IRI_with_eight_digit_numeric_escape>
-    <#IRI_with_all_punctuation>
-    <#bareword_a_predicate>
-    <#old_style_prefix>
-    <#SPARQL_style_prefix>
-    <#prefixed_IRI_predicate>
-    <#prefixed_IRI_object>
-    <#prefix_only_IRI>
-    <#prefix_with_PN_CHARS_BASE_character_boundaries>
-    <#prefix_with_non_leading_extras>
-    <#default_namespace_IRI>
-    <#prefix_reassigned_and_used>
-    <#reserved_escaped_localName>
-    <#percent_escaped_localName>
-    <#HYPHEN_MINUS_in_localName>
-    <#underscore_in_localName>
-    <#localname_with_COLON>
-    <#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_leading_underscore>
-    <#localName_with_leading_digit>
-    <#localName_with_non_leading_extras>
-    <#old_style_base>
-    <#SPARQL_style_base>
-    <#labeled_blank_node_subject>
-    <#labeled_blank_node_object>
-    <#labeled_blank_node_with_PN_CHARS_BASE_character_boundaries>
-    <#labeled_blank_node_with_leading_underscore>
-    <#labeled_blank_node_with_leading_digit>
-    <#labeled_blank_node_with_non_leading_extras>
-    <#anonymous_blank_node_subject>
-    <#anonymous_blank_node_object>
-    <#sole_blankNodePropertyList>
-    <#blankNodePropertyList_as_subject>
-    <#blankNodePropertyList_as_object>
-    <#blankNodePropertyList_with_multiple_triples>
-    <#nested_blankNodePropertyLists>
-    <#blankNodePropertyList_containing_collection>
-    <#collection_subject>
-    <#collection_object>
-    <#empty_collection>
-    <#nested_collection>
-    <#first>
-    <#last>
-    <#LITERAL1>
-    <#LITERAL1_ascii_boundaries>
-    <#LITERAL1_with_UTF8_boundaries>
-    <#LITERAL1_all_controls>
-    <#LITERAL1_all_punctuation>
-    <#LITERAL_LONG1>
-    <#LITERAL_LONG1_ascii_boundaries>
-    <#LITERAL_LONG1_with_UTF8_boundaries>
-    <#LITERAL_LONG1_with_1_squote>
-    <#LITERAL_LONG1_with_2_squotes>
-    <#LITERAL2>
-    <#LITERAL2_ascii_boundaries>
-    <#LITERAL2_with_UTF8_boundaries>
-    <#LITERAL_LONG2>
-    <#LITERAL_LONG2_ascii_boundaries>
-    <#LITERAL_LONG2_with_UTF8_boundaries>
-    <#LITERAL_LONG2_with_1_squote>
-    <#LITERAL_LONG2_with_2_squotes>
-    <#literal_with_CHARACTER_TABULATION>
-    <#literal_with_BACKSPACE>
-    <#literal_with_LINE_FEED>
-    <#literal_with_CARRIAGE_RETURN>
-    <#literal_with_FORM_FEED>
-    <#literal_with_REVERSE_SOLIDUS>
-    <#literal_with_escaped_CHARACTER_TABULATION>
-    <#literal_with_escaped_BACKSPACE>
-    <#literal_with_escaped_LINE_FEED>
-    <#literal_with_escaped_CARRIAGE_RETURN>
-    <#literal_with_escaped_FORM_FEED>
-    <#literal_with_numeric_escape4>
-    <#literal_with_numeric_escape8>
-    <#IRIREF_datatype>
-    <#prefixed_name_datatype>
-    <#bareword_integer>
-    <#bareword_decimal>
-    <#bareword_double>
-    <#double_lower_case_e>
-    <#negative_numeric>
-    <#positive_numeric>
-    <#numeric_with_leading_0>
-    <#literal_true>
-    <#literal_false>
-    <#langtagged_non_LONG>
-    <#langtagged_LONG>
-    <#lantag_with_subtag>
-    <#objectList_with_two_objects>
-    <#predicateObjectList_with_two_objectLists>
-    <#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>
-    <#trig-syntax-bad-LITERAL2_with_langtag_and_datatype>
-    <#two_LITERAL_LONG2s>
-    <#langtagged_LONG_with_subtag>
-
-    # original tests-ttl
-    <#trig-syntax-file-01>
-    <#trig-syntax-file-02>
-    <#trig-syntax-file-03>
-    <#trig-syntax-uri-01>
-    <#trig-syntax-uri-02>
-    <#trig-syntax-uri-03>
-    <#trig-syntax-uri-04>
-    <#trig-syntax-base-01>
-    <#trig-syntax-base-02>
-    <#trig-syntax-base-03>
-    <#trig-syntax-base-04>
-    <#trig-syntax-prefix-01>
-    <#trig-syntax-prefix-02>
-    <#trig-syntax-prefix-03>
-    <#trig-syntax-prefix-04>
-    <#trig-syntax-prefix-05>
-    <#trig-syntax-prefix-06>
-    <#trig-syntax-prefix-07>
-    <#trig-syntax-prefix-08>
-    <#trig-syntax-prefix-09>
-    <#trig-syntax-string-01>
-    <#trig-syntax-string-02>
-    <#trig-syntax-string-03>
-    <#trig-syntax-string-04>
-    <#trig-syntax-string-05>
-    <#trig-syntax-string-06>
-    <#trig-syntax-string-07>
-    <#trig-syntax-string-08>
-    <#trig-syntax-string-09>
-    <#trig-syntax-string-10>
-    <#trig-syntax-string-11>
-    <#trig-syntax-str-esc-01>
-    <#trig-syntax-str-esc-02>
-    <#trig-syntax-str-esc-03>
-    <#trig-syntax-pname-esc-01>
-    <#trig-syntax-pname-esc-02>
-    <#trig-syntax-pname-esc-03>
-    <#trig-syntax-bnode-01>
-    <#trig-syntax-bnode-02>
-    <#trig-syntax-bnode-03>
-    <#trig-syntax-bnode-04>
-    <#trig-syntax-bnode-05>
-    <#trig-syntax-bnode-06>
-    <#trig-syntax-bnode-07>
-    <#trig-syntax-bnode-08>
-    <#trig-syntax-bnode-09>
-    <#trig-syntax-bnode-10>
-    <#trig-syntax-number-01>
-    <#trig-syntax-number-02>
-    <#trig-syntax-number-03>
-    <#trig-syntax-number-04>
-    <#trig-syntax-number-05>
-    <#trig-syntax-number-06>
-    <#trig-syntax-number-07>
-    <#trig-syntax-number-08>
-    <#trig-syntax-number-09>
-    <#trig-syntax-number-10>
-    <#trig-syntax-number-11>
-    <#trig-syntax-datatypes-01>
-    <#trig-syntax-datatypes-02>
-    <#trig-syntax-kw-01>
-    <#trig-syntax-kw-02>
-    <#trig-syntax-kw-03>
-    <#trig-syntax-struct-01>
-    <#trig-syntax-struct-02>
-    <#trig-syntax-struct-03>
-    <#trig-syntax-struct-04>
-    <#trig-syntax-struct-05>
-    <#trig-syntax-lists-01>
-    <#trig-syntax-lists-02>
-    <#trig-syntax-lists-03>
-    <#trig-syntax-lists-04>
-    <#trig-syntax-lists-05>
-    <#trig-syntax-bad-uri-01>
-    <#trig-syntax-bad-uri-02>
-    <#trig-syntax-bad-uri-03>
-    <#trig-syntax-bad-uri-04>
-    <#trig-syntax-bad-uri-05>
-    <#trig-syntax-bad-prefix-01>
-    <#trig-syntax-bad-prefix-02>
-    <#trig-syntax-bad-prefix-03>
-    <#trig-syntax-bad-prefix-04>
-    <#trig-syntax-bad-prefix-05>
-    <#trig-syntax-bad-base-01>
-    <#trig-syntax-bad-base-02>
-    <#trig-syntax-bad-base-03>
-    <#trig-syntax-bad-struct-02>
-    <#trig-syntax-bad-struct-03>
-    <#trig-syntax-bad-struct-04>
-    <#trig-syntax-bad-struct-05>
-    <#trig-syntax-bad-struct-06>
-    <#trig-syntax-bad-struct-07>
-    <#trig-syntax-bad-kw-01>
-    <#trig-syntax-bad-kw-02>
-    <#trig-syntax-bad-kw-03>
-    <#trig-syntax-bad-kw-04>
-    <#trig-syntax-bad-kw-05>
-    <#trig-syntax-bad-n3-extras-01>
-    <#trig-syntax-bad-n3-extras-02>
-    <#trig-syntax-bad-n3-extras-03>
-    <#trig-syntax-bad-n3-extras-04>
-    <#trig-syntax-bad-n3-extras-05>
-    <#trig-syntax-bad-n3-extras-06>
-    <#trig-syntax-bad-n3-extras-07>
-    <#trig-syntax-bad-n3-extras-08>
-    <#trig-syntax-bad-n3-extras-09>
-    <#trig-syntax-bad-n3-extras-10>
-    <#trig-syntax-bad-n3-extras-11>
-    <#trig-syntax-bad-n3-extras-12>
-    <#trig-syntax-bad-n3-extras-13>
-    <#trig-syntax-bad-struct-09>
-    <#trig-syntax-bad-struct-10>
-    <#trig-syntax-bad-struct-12>
-    <#trig-syntax-bad-struct-13>
-    <#trig-syntax-bad-struct-14>
-    <#trig-syntax-bad-struct-15>
-    <#trig-syntax-bad-struct-16>
-    <#trig-syntax-bad-struct-17>
-    <#trig-syntax-bad-lang-01>
-    <#trig-syntax-bad-esc-01>
-    <#trig-syntax-bad-esc-02>
-    <#trig-syntax-bad-esc-03>
-    <#trig-syntax-bad-esc-04>
-    <#trig-syntax-bad-pname-01>
-    <#trig-syntax-bad-pname-02>
-    <#trig-syntax-bad-pname-03>
-    <#trig-syntax-bad-string-01>
-    <#trig-syntax-bad-string-02>
-    <#trig-syntax-bad-string-03>
-    <#trig-syntax-bad-string-04>
-    <#trig-syntax-bad-string-05>
-    <#trig-syntax-bad-string-06>
-    <#trig-syntax-bad-string-07>
-    <#trig-syntax-bad-num-01>
-    <#trig-syntax-bad-num-02>
-    <#trig-syntax-bad-num-03>
-    <#trig-syntax-bad-num-04>
-    <#trig-syntax-bad-num-05>
-    <#trig-eval-struct-01>
-    <#trig-eval-struct-02>
-    <#trig-subm-01>
-    <#trig-subm-02>
-    <#trig-subm-03>
-    <#trig-subm-04>
-    <#trig-subm-05>
-    <#trig-subm-06>
-    <#trig-subm-07>
-    <#trig-subm-08>
-    <#trig-subm-09>
-    <#trig-subm-10>
-    <#trig-subm-11>
-    <#trig-subm-12>
-    <#trig-subm-13>
-    <#trig-subm-14>
-    <#trig-subm-15>
-    <#trig-subm-16>
-    <#trig-subm-17>
-    <#trig-subm-18>
-    <#trig-subm-19>
-    <#trig-subm-20>
-    <#trig-subm-21>
-    <#trig-subm-22>
-    <#trig-subm-23>
-    <#trig-subm-24>
-    <#trig-subm-25>
-    <#trig-subm-26>
-    <#trig-subm-27>
-    <#trig-eval-bad-01>
-    <#trig-eval-bad-02>
-    <#trig-eval-bad-03>
-    <#trig-eval-bad-04>
-
-    # tests from David Robillard
-    # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21
-    <#trig-syntax-bad-blank-label-dot-end>
-    <#trig-syntax-bad-ln-dash-start>
-    <#trig-syntax-bad-ln-escape-start>
-    <#trig-syntax-bad-ln-escape>
-    <#trig-syntax-bad-missing-ns-dot-end>
-    <#trig-syntax-bad-missing-ns-dot-start>
-    <#trig-syntax-bad-ns-dot-end>
-    <#trig-syntax-bad-ns-dot-start>
-    <#trig-syntax-bad-number-dot-in-anon>
-    <#trig-syntax-blank-label>
-    <#trig-syntax-ln-colons>
-    <#trig-syntax-ln-dots>
-    <#trig-syntax-ns-dots>
-
-    # tests for bnode graph names, optional GRAPH keyword and
-    # triples outside {}
-      <#trig-kw-graph-01>
-      <#trig-kw-graph-02>
-      <#trig-kw-graph-03>
-      <#trig-kw-graph-04>
-      <#trig-kw-graph-05>
-
-      <#trig-kw-graph-06>
-      <#trig-kw-graph-07>
-      <#trig-kw-graph-08>
-      <#trig-kw-graph-09>
-
-      <#trig-kw-graph-10>
-
-      <#trig-graph-bad-01>
-      <#trig-graph-bad-02>
-      <#trig-graph-bad-03>
-      <#trig-graph-bad-04>
-      <#trig-graph-bad-05>
-
-      <#trig-graph-bad-06>
-      <#trig-graph-bad-07>
-      <#trig-graph-bad-08>
-      <#trig-graph-bad-09>
-
-      <#trig-graph-bad-10>
-      <#trig-graph-bad-11>
-
-      <#trig-bnodeplist-graph-01>
-
-      <#trig-collection-graph-01>
-      <#trig-collection-graph-02>
-
-      <#trig-turtle-01>
-      <#trig-turtle-02>
-      <#trig-turtle-03>
-      <#trig-turtle-04>
-      <#trig-turtle-05>
-
-      <#trig-turtle-06>
-
-      <#trig-turtle-bad-01>
-      <#trig-turtle-bad-02>
-
-      # Tests from N-Triples/N-Quads
+##     # TriG specific tests
+##     <#anonymous_blank_node_graph>
+##     <#labeled_blank_node_graph>
+##     <#alternating_iri_graphs>
+##     <#alternating_bnode_graphs>
+##     <#trig-syntax-bad-base-04>
+##     <#trig-syntax-bad-base-05>
+##     <#trig-syntax-bad-prefix-06>
+##     <#trig-syntax-bad-prefix-07>
+##     <#trig-syntax-struct-06>
+##     <#trig-syntax-struct-07>
+##     <#trig-syntax-minimal-whitespace-01>
+## 
+##     # From Turtle tests
+##     # atomic tests
+##     <#IRI_subject>
+##     <#IRI_with_four_digit_numeric_escape>
+##     <#IRI_with_eight_digit_numeric_escape>
+##     <#IRI_with_all_punctuation>
+##     <#bareword_a_predicate>
+##     <#old_style_prefix>
+##     <#SPARQL_style_prefix>
+##     <#prefixed_IRI_predicate>
+##     <#prefixed_IRI_object>
+##     <#prefix_only_IRI>
+##     <#prefix_with_PN_CHARS_BASE_character_boundaries>
+##     <#prefix_with_non_leading_extras>
+##     <#default_namespace_IRI>
+##     <#prefix_reassigned_and_used>
+##     <#reserved_escaped_localName>
+##     <#percent_escaped_localName>
+##     <#HYPHEN_MINUS_in_localName>
+##     <#underscore_in_localName>
+##     <#localname_with_COLON>
+##     <#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_leading_underscore>
+##     <#localName_with_leading_digit>
+##     <#localName_with_non_leading_extras>
+##     <#old_style_base>
+##     <#SPARQL_style_base>
+##     <#labeled_blank_node_subject>
+##     <#labeled_blank_node_object>
+##     <#labeled_blank_node_with_PN_CHARS_BASE_character_boundaries>
+##     <#labeled_blank_node_with_leading_underscore>
+##     <#labeled_blank_node_with_leading_digit>
+##     <#labeled_blank_node_with_non_leading_extras>
+##     <#anonymous_blank_node_subject>
+##     <#anonymous_blank_node_object>
+##     <#sole_blankNodePropertyList>
+##     <#blankNodePropertyList_as_subject>
+##     <#blankNodePropertyList_as_object>
+##     <#blankNodePropertyList_with_multiple_triples>
+##     <#nested_blankNodePropertyLists>
+##     <#blankNodePropertyList_containing_collection>
+##     <#collection_subject>
+##     <#collection_object>
+##     <#empty_collection>
+##     <#nested_collection>
+##     <#first>
+##     <#last>
+##     <#LITERAL1>
+##     <#LITERAL1_ascii_boundaries>
+##     <#LITERAL1_with_UTF8_boundaries>
+##     <#LITERAL1_all_controls>
+##     <#LITERAL1_all_punctuation>
+##     <#LITERAL_LONG1>
+##     <#LITERAL_LONG1_ascii_boundaries>
+##     <#LITERAL_LONG1_with_UTF8_boundaries>
+##     <#LITERAL_LONG1_with_1_squote>
+##     <#LITERAL_LONG1_with_2_squotes>
+##     <#LITERAL2>
+##     <#LITERAL2_ascii_boundaries>
+##     <#LITERAL2_with_UTF8_boundaries>
+##     <#LITERAL_LONG2>
+##     <#LITERAL_LONG2_ascii_boundaries>
+##     <#LITERAL_LONG2_with_UTF8_boundaries>
+##     <#LITERAL_LONG2_with_1_squote>
+##     <#LITERAL_LONG2_with_2_squotes>
+##     <#literal_with_CHARACTER_TABULATION>
+##     <#literal_with_BACKSPACE>
+##     <#literal_with_LINE_FEED>
+##     <#literal_with_CARRIAGE_RETURN>
+##     <#literal_with_FORM_FEED>
+##     <#literal_with_REVERSE_SOLIDUS>
+##     <#literal_with_escaped_CHARACTER_TABULATION>
+##     <#literal_with_escaped_BACKSPACE>
+##     <#literal_with_escaped_LINE_FEED>
+##     <#literal_with_escaped_CARRIAGE_RETURN>
+##     <#literal_with_escaped_FORM_FEED>
+##     <#literal_with_numeric_escape4>
+##     <#literal_with_numeric_escape8>
+##     <#IRIREF_datatype>
+##     <#prefixed_name_datatype>
+##     <#bareword_integer>
+##     <#bareword_decimal>
+##     <#bareword_double>
+##     <#double_lower_case_e>
+##     <#negative_numeric>
+##     <#positive_numeric>
+##     <#numeric_with_leading_0>
+##     <#literal_true>
+##     <#literal_false>
+##     <#langtagged_non_LONG>
+##     <#langtagged_LONG>
+##     <#lantag_with_subtag>
+##     <#objectList_with_two_objects>
+##     <#predicateObjectList_with_two_objectLists>
+##     <#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>
+##     <#trig-syntax-bad-LITERAL2_with_langtag_and_datatype>
+##     <#two_LITERAL_LONG2s>
+##     <#langtagged_LONG_with_subtag>
+## 
+##     # original tests-ttl
+##     <#trig-syntax-file-01>
+##     <#trig-syntax-file-02>
+##     <#trig-syntax-file-03>
+##     <#trig-syntax-uri-01>
+##     <#trig-syntax-uri-02>
+##     <#trig-syntax-uri-03>
+##     <#trig-syntax-uri-04>
+##     <#trig-syntax-base-01>
+##     <#trig-syntax-base-02>
+##     <#trig-syntax-base-03>
+##     <#trig-syntax-base-04>
+##     <#trig-syntax-prefix-01>
+##     <#trig-syntax-prefix-02>
+##     <#trig-syntax-prefix-03>
+##     <#trig-syntax-prefix-04>
+##     <#trig-syntax-prefix-05>
+##     <#trig-syntax-prefix-06>
+##     <#trig-syntax-prefix-07>
+##     <#trig-syntax-prefix-08>
+##     <#trig-syntax-prefix-09>
+##     <#trig-syntax-string-01>
+##     <#trig-syntax-string-02>
+##     <#trig-syntax-string-03>
+##     <#trig-syntax-string-04>
+##     <#trig-syntax-string-05>
+##     <#trig-syntax-string-06>
+##     <#trig-syntax-string-07>
+##     <#trig-syntax-string-08>
+##     <#trig-syntax-string-09>
+##     <#trig-syntax-string-10>
+##     <#trig-syntax-string-11>
+##     <#trig-syntax-str-esc-01>
+##     <#trig-syntax-str-esc-02>
+##     <#trig-syntax-str-esc-03>
+##     <#trig-syntax-pname-esc-01>
+##     <#trig-syntax-pname-esc-02>
+##     <#trig-syntax-pname-esc-03>
+##     <#trig-syntax-bnode-01>
+##     <#trig-syntax-bnode-02>
+##     <#trig-syntax-bnode-03>
+##     <#trig-syntax-bnode-04>
+##     <#trig-syntax-bnode-05>
+##     <#trig-syntax-bnode-06>
+##     <#trig-syntax-bnode-07>
+##     <#trig-syntax-bnode-08>
+##     <#trig-syntax-bnode-09>
+##     <#trig-syntax-bnode-10>
+##     <#trig-syntax-number-01>
+##     <#trig-syntax-number-02>
+##     <#trig-syntax-number-03>
+##     <#trig-syntax-number-04>
+##     <#trig-syntax-number-05>
+##     <#trig-syntax-number-06>
+##     <#trig-syntax-number-07>
+##     <#trig-syntax-number-08>
+##     <#trig-syntax-number-09>
+##     <#trig-syntax-number-10>
+##     <#trig-syntax-number-11>
+##     <#trig-syntax-datatypes-01>
+##     <#trig-syntax-datatypes-02>
+##     <#trig-syntax-kw-01>
+##     <#trig-syntax-kw-02>
+##     <#trig-syntax-kw-03>
+##     <#trig-syntax-struct-01>
+##     <#trig-syntax-struct-02>
+##     <#trig-syntax-struct-03>
+##     <#trig-syntax-struct-04>
+##     <#trig-syntax-struct-05>
+##     <#trig-syntax-lists-01>
+##     <#trig-syntax-lists-02>
+##     <#trig-syntax-lists-03>
+##     <#trig-syntax-lists-04>
+##     <#trig-syntax-lists-05>
+##     <#trig-syntax-bad-uri-01>
+##     <#trig-syntax-bad-uri-02>
+##     <#trig-syntax-bad-uri-03>
+##     <#trig-syntax-bad-uri-04>
+##     <#trig-syntax-bad-uri-05>
+##     <#trig-syntax-bad-prefix-01>
+##     <#trig-syntax-bad-prefix-02>
+##     <#trig-syntax-bad-prefix-03>
+##     <#trig-syntax-bad-prefix-04>
+##     <#trig-syntax-bad-prefix-05>
+##     <#trig-syntax-bad-base-01>
+##     <#trig-syntax-bad-base-02>
+##     <#trig-syntax-bad-base-03>
+##     <#trig-syntax-bad-struct-02>
+##     <#trig-syntax-bad-struct-03>
+##     <#trig-syntax-bad-struct-04>
+##     <#trig-syntax-bad-struct-05>
+##     <#trig-syntax-bad-struct-06>
+##     <#trig-syntax-bad-struct-07>
+##     <#trig-syntax-bad-kw-01>
+##     <#trig-syntax-bad-kw-02>
+##     <#trig-syntax-bad-kw-03>
+##     <#trig-syntax-bad-kw-04>
+##     <#trig-syntax-bad-kw-05>
+##     <#trig-syntax-bad-n3-extras-01>
+##     <#trig-syntax-bad-n3-extras-02>
+##     <#trig-syntax-bad-n3-extras-03>
+##     <#trig-syntax-bad-n3-extras-04>
+##     <#trig-syntax-bad-n3-extras-05>
+##     <#trig-syntax-bad-n3-extras-06>
+##     <#trig-syntax-bad-n3-extras-07>
+##     <#trig-syntax-bad-n3-extras-08>
+##     <#trig-syntax-bad-n3-extras-09>
+##     <#trig-syntax-bad-n3-extras-10>
+##     <#trig-syntax-bad-n3-extras-11>
+##     <#trig-syntax-bad-n3-extras-12>
+##     <#trig-syntax-bad-n3-extras-13>
+##     <#trig-syntax-bad-struct-09>
+##     <#trig-syntax-bad-struct-10>
+##     <#trig-syntax-bad-struct-12>
+##     <#trig-syntax-bad-struct-13>
+##     <#trig-syntax-bad-struct-14>
+##     <#trig-syntax-bad-struct-15>
+##     <#trig-syntax-bad-struct-16>
+##     <#trig-syntax-bad-struct-17>
+##     <#trig-syntax-bad-lang-01>
+##     <#trig-syntax-bad-esc-01>
+##     <#trig-syntax-bad-esc-02>
+##     <#trig-syntax-bad-esc-03>
+##     <#trig-syntax-bad-esc-04>
+##     <#trig-syntax-bad-pname-01>
+##     <#trig-syntax-bad-pname-02>
+##     <#trig-syntax-bad-pname-03>
+##     <#trig-syntax-bad-string-01>
+##     <#trig-syntax-bad-string-02>
+##     <#trig-syntax-bad-string-03>
+##     <#trig-syntax-bad-string-04>
+##     <#trig-syntax-bad-string-05>
+##     <#trig-syntax-bad-string-06>
+##     <#trig-syntax-bad-string-07>
+##     <#trig-syntax-bad-num-01>
+##     <#trig-syntax-bad-num-02>
+##     <#trig-syntax-bad-num-03>
+##     <#trig-syntax-bad-num-04>
+##     <#trig-syntax-bad-num-05>
+##     <#trig-eval-struct-01>
+##     <#trig-eval-struct-02>
+##     <#trig-subm-01>
+##     <#trig-subm-02>
+##     <#trig-subm-03>
+##     <#trig-subm-04>
+##     <#trig-subm-05>
+##     <#trig-subm-06>
+##     <#trig-subm-07>
+##     <#trig-subm-08>
+##     <#trig-subm-09>
+##     <#trig-subm-10>
+##     <#trig-subm-11>
+##     <#trig-subm-12>
+##     <#trig-subm-13>
+##     <#trig-subm-14>
+##     <#trig-subm-15>
+##     <#trig-subm-16>
+##     <#trig-subm-17>
+##     <#trig-subm-18>
+##     <#trig-subm-19>
+##     <#trig-subm-20>
+##     <#trig-subm-21>
+##     <#trig-subm-22>
+##     <#trig-subm-23>
+##     <#trig-subm-24>
+##     <#trig-subm-25>
+##     <#trig-subm-26>
+##     <#trig-subm-27>
+##     <#trig-eval-bad-01>
+##     <#trig-eval-bad-02>
+##     <#trig-eval-bad-03>
+##     <#trig-eval-bad-04>
+## 
+##     # tests from David Robillard
+##     # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21
+##     <#trig-syntax-bad-blank-label-dot-end>
+##     <#trig-syntax-bad-ln-dash-start>
+##     <#trig-syntax-bad-ln-escape-start>
+##     <#trig-syntax-bad-ln-escape>
+##     <#trig-syntax-bad-missing-ns-dot-end>
+##     <#trig-syntax-bad-missing-ns-dot-start>
+##     <#trig-syntax-bad-ns-dot-end>
+##     <#trig-syntax-bad-ns-dot-start>
+##     <#trig-syntax-bad-number-dot-in-anon>
+    <#trig-syntax-bad-list-01>
+    <#trig-syntax-bad-list-02>
+    <#trig-syntax-bad-list-03>
+    <#trig-syntax-bad-list-04>
+## 
+##     <#trig-syntax-blank-label>
+##     <#trig-syntax-ln-colons>
+##     <#trig-syntax-ln-dots>
+##     <#trig-syntax-ns-dots>
+## 
+##     # tests for bnode graph names, optional GRAPH keyword and
+##     # triples outside {}
+##       <#trig-kw-graph-01>
+##       <#trig-kw-graph-02>
+##       <#trig-kw-graph-03>
+##       <#trig-kw-graph-04>
+##       <#trig-kw-graph-05>
+## 
+##       <#trig-kw-graph-06>
+##       <#trig-kw-graph-07>
+##       <#trig-kw-graph-08>
+##       <#trig-kw-graph-09>
+## 
+##       <#trig-kw-graph-10>
+## 
+##       <#trig-graph-bad-01>
+##       <#trig-graph-bad-02>
+##       <#trig-graph-bad-03>
+##       <#trig-graph-bad-04>
+##       <#trig-graph-bad-05>
+## 
+##       <#trig-graph-bad-06>
+##       <#trig-graph-bad-07>
+##       <#trig-graph-bad-08>
+##       <#trig-graph-bad-09>
+## 
+##       <#trig-graph-bad-10>
+##       <#trig-graph-bad-11>
+## 
+##       <#trig-bnodeplist-graph-01>
+## 
+##       <#trig-collection-graph-01>
+##       <#trig-collection-graph-02>
+## 
+##       <#trig-turtle-01>
+##       <#trig-turtle-02>
+##       <#trig-turtle-03>
+##       <#trig-turtle-04>
+##       <#trig-turtle-05>
+## 
+##       <#trig-turtle-06>
+## 
+##       <#trig-turtle-bad-01>
+##       <#trig-turtle-bad-02>
+## 
+##       # Tests from N-Triples/N-Quads
     ) .
 
 # TriG tests
@@ -2598,6 +2603,38 @@
         rdft:approval rdft:Proposed ;
 	mf:action <trig-syntax-bad-missing-ns-dot-start.trig> .
 
+<#trig-syntax-bad-list-01>
+    rdf:type rdft:TestTrigNegativeSyntax ;
+    rdfs:comment "Free-standing list outside {} : bad syntax" ;
+   	mf:name "trig-syntax-bad-list-01" ;
+    rdft:approval rdft:Proposed ;
+    mf:action <trig-syntax-bad-list-01.trig> 
+    .
+
+<#trig-syntax-bad-list-02>
+    rdf:type rdft:TestTrigNegativeSyntax ;
+    rdfs:comment "Free-standing list of zero-elements outside {} : bad syntax" ;
+   	mf:name "trig-syntax-bad-list-02" ;
+    rdft:approval rdft:Proposed ;
+    mf:action <trig-syntax-bad-list-02.trig> 
+    .
+
+<#trig-syntax-bad-list-03>
+    rdf:type rdft:TestTrigNegativeSyntax ;
+    rdfs:comment "Free-standing list inside {} : bad syntax" ;
+   	mf:name "trig-syntax-bad-list-03" ;
+    rdft:approval rdft:Proposed ;
+    mf:action <trig-syntax-bad-list-03.trig> 
+    .
+
+<#trig-syntax-bad-list-04>
+    rdf:type rdft:TestTrigNegativeSyntax ;
+    rdfs:comment "Free-standing list of zero elements : bad syntax" ;
+   	mf:name "trig-syntax-bad-list-04" ;
+    rdft:approval rdft:Proposed ;
+    mf:action <trig-syntax-bad-list-04.trig> 
+    .
+
 <#trig-syntax-ln-dots>
 	rdf:type rdft:TestTrigPositiveSyntax ;
 	rdfs:comment "Dots in pname local names" ;
@@ -2791,7 +2828,7 @@
    .
 
 <#trig-collection-graph-02> rdf:type rdft:TestTrigNegativeSyntax ;
-   mf:name      "trig-collection-grap-badh-02" ;
+   mf:name      "trig-collection-graph-bad-02" ;
    rdfs:comment "A graph may not be named with a collection" ;
    rdft:approval rdft:Proposed ;
    mf:action    <trig-collection-graph-bad-02.trig> ;
@@ -2806,7 +2843,7 @@
 
 <#trig-turtle-02> rdf:type rdft:TestTrigPositiveSyntax ;
    mf:name      "trig-turtle-02" ;
-   rdfs:comment "riG can parse Turtle (repeated PREFIX)" ;
+   rdfs:comment "TriG can parse Turtle (repeated PREFIX)" ;
    rdft:approval rdft:Proposed ;
    mf:action    <trig-turtle-02.trig> ;
    .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trig/tests/trig-syntax-bad-list-01.trig	Thu Nov 21 22:20:03 2013 +0000
@@ -0,0 +1,2 @@
+# RDF collection without predicate-object-list
+( 1 2 3 ) .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trig/tests/trig-syntax-bad-list-02.trig	Thu Nov 21 22:20:03 2013 +0000
@@ -0,0 +1,2 @@
+# RDF collection without predicate-object-list
+( 1 2 3 ) .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trig/tests/trig-syntax-bad-list-03.trig	Thu Nov 21 22:20:03 2013 +0000
@@ -0,0 +1,3 @@
+# RDF collection without predicate-object-list
+{ ( 1 2 3 ) }
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trig/tests/trig-syntax-bad-list-04.trig	Thu Nov 21 22:20:03 2013 +0000
@@ -0,0 +1,3 @@
+# RDF collection without predicate-object-list
+{ ( ) }
+