W3C home > Mailing lists > Public > public-rdf-comments@w3.org > March 2013

Re: Turtle "coverage" test suite issues with N-Triples

From: Eric Prud'hommeaux <eric@w3.org>
Date: Mon, 4 Mar 2013 16:17:00 -0500
To: Pierre-Antoine Champin <pa@champin.net>
Cc: Gregory Williams <greg@evilfunhouse.com>, "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>, David Robillard <d@drobilla.net>
Message-ID: <20130304211659.GA4949@w3.org>
* Pierre-Antoine Champin <pa@champin.net> [2013-03-04 20:50+0000]
> Woopsie... :-(
> 
> I indeed commited this change to Eric's original files (using the correct
> \u escaping),
> because it just seemed more "natural" to use the simple escaping.
> 
> I completely overlooked the fact that this was not "legacy" n-triples,
> but had I noticed that, I would definitely have asked Eric's permission
> before
> (and probably not even that, as I agree that his original choice was the
> best).
> 
> I'm really REALLY sorry I caused so much trouble to several people.
> I reverted it on the hg repo.

no prob at all. dvcs's HTML interface make it easy to track this stuff down.

btw, did you push? 'cause i still see \b and \f at the tip:
https://dvcs.w3.org/hg/rdf/file/tip/rdf-turtle/coverage/tests/literal_with_BACKSPACE.nt
https://dvcs.w3.org/hg/rdf/file/tip/rdf-turtle/coverage/tests/literal_with_FORM_FEED.nt
(though it's possible that i overestimate my understanding of dvcs's HTML interface.)


>   pa
> 
> 
> 
> 
> On Mon, Mar 4, 2013 at 7:47 PM, Eric Prud'hommeaux <eric@w3.org> wrote:
> 
> > * Gregory Williams <greg@evilfunhouse.com> [2013-03-04 12:41-0500]
> > > Gregg alerted to me to the fact that I had overlooked the "coverage"
> > part of the test suite. In trying to run those, I've run into another
> > problem that I wish to comment on.
> > >
> > > The two eval tests:
> > >
> > > #literal_with_FORM_FEED
> > > #literal_with_BACKSPACE
> > >
> > > are based on a comparison with N-Triples files that seem to rely on the
> > new, unpublished N-Triples grammar (with the use of escaped forms \b and \f
> > in strings). However, I don't see that this has anything to do with testing
> > of Turtle, and wonder why those files don't use the serialization format
> > from the existing N-Triples grammar (using the \u escaped form). Moreover,
> > even when/if a new N-Triples document is published, I don't believe it's
> > wise to base the new Turtle test suite on the also new N-Triples grammar.
> > The N-Triples files in the Turtle test suite should conform to the existing
> > grammar.
> >
> > I like using ye olde n-triples for this (and in fact, think it should have
> > a name, like "n-triples"). I originally committed
> >
> > https://dvcs.w3.org/hg/rdf/file/a9221c4323e3/rdf-turtle/coverage/tests/literal_with_BACKSPACE.nt
> > which has
> >   <http://a.example/s> <http://a.example/p> "\u0008" .
> >
> > I think Pierre-Antoine has a different notion of what's an appropriate
> > escape form: https://dvcs.w3.org/hg/rdf/rev/3bb586f7bd9a .
> > Pierre-Antoine, why did you prefer "\b" to "\u0008"?
> >
> >
> > > thanks,
> > > .greg
> > >
> > >
> >
> > --
> > -ericP
> >
> >

-- 
-ericP
Received on Monday, 4 March 2013 21:17:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:55 UTC