normalize bnode labels in Turtle tests?

David Robillard submitted a message with 5 comments, including patches
to change all reference graph bnode labels to some repeatable pattern,
e.g.

  --- a/rdf-turtle/coverage/tests/nested_collection.nt	Sat Feb 23 14:12:41 2013 -0800
  +++ b/rdf-turtle/coverage/tests/nested_collection.nt	Mon Feb 25 00:45:06 2013 -0500
  @@ -1,5 +1,5 @@
  -<http://a.example/s> <http://a.example/p> _:outerEl1 .
  -_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:innerEl1 .
  -_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
  -_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
  -_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
  +<http://a.example/s> <http://a.example/p> _:b1 .
  +_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b2 .
  +_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
  +_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
  +_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

<http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c13>

pros:
  folks with a particular parser can do lexical comparison.

cons:
  lose some labels meant to assist developers.
  reduces pressure for implementations to propery manage bnodes.

In net, do we want to normalize bnode labels in the Turtle tests?
-- 
-ericP

Received on Tuesday, 26 March 2013 14:04:10 UTC