Re: TEST: literals

[...]

> > > I think I'll add these to the WG tests, for people looking at
> > > N-Triples.  Would it be better to split these to 1-example per test
> > > file, or is it OK as all in one big file?
> >
> > I very much support the idea to put that in the test
> > repository and I think it is good to keep it as 1 file
>
> Finally having got my w3.org cvs access working again, I've donated
> my tests under the W3C license and checked it in at:
>
> http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt

that's very grateful of you Dave!
and it seems OK if we test (*)

-- ,
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/

(*)
$ java Euler http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt 
http://www.w3.org/2000/10
/rdf-tests/rdfcore/ntriples/test.nt
# Generated with http://www.agfa.com/w3c/euler/#R31016 on 16 Jul 2002 
20:45:10 GMT
# for query http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt
# given {http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt=[]}

@prefix log: <http://www.w3.org/2000/10/swap/log#>.

<http://example.org/resource1> <http://example.org/property> 
<http://example.org/resource2>.
_:anon <http://example.org/property> <http://example.org/resource2>.
<http://example.org/resource2> <http://example.org/property> _:anon.
<http://example.org/resource3> <http://example.org/property> 
<http://example.org/resource2>.
<http://example.org/resource4> <http://example.org/property> 
<http://example.org/resource2>.
<http://example.org/resource5> <http://example.org/property> 
<http://example.org/resource2>.
<http://example.org/resource6> <http://example.org/property> 
<http://example.org/resource2>.
<http://example.org/resource7> <http://example.org/property> "simple 
literal".
<http://example.org/resource8> <http://example.org/property> 
"backslash:\\".
<http://example.org/resource9> <http://example.org/property> "dquote:\"".
<http://example.org/resource10> <http://example.org/property> 
"newline:\n".
<http://example.org/resource11> <http://example.org/property> "return\r".
<http://example.org/resource12> <http://example.org/property> "tab:\t".
<http://example.org/resource13> <http://example.org/property> 
<http://example.org/resource2>.
<http://example.org/resource14> <http://example.org/property> "x".
<http://example.org/resource15> <http://example.org/property> _:anon.
<http://example.org/resource16> <http://example.org/property> "\u00E9".
<http://example.org/resource17> <http://example.org/property> "\u20AC".
<http://example.org/resource18> <http://example.org/property> 
"\U001FFFFF".
<http://example.org/resource19> <http://example.org/property> 
"\U03FFFFFF".
<http://example.org/resource20> <http://example.org/property> 
"\U7FFFFFFF".
<http://example.org/resource21> <http://example.org/property> xml"".
<http://example.org/resource22> <http://example.org/property> xml" ".
<http://example.org/resource23> <http://example.org/property> xml"x".
<http://example.org/resource23> <http://example.org/property> xml"\"".
<http://example.org/resource24> <http://example.org/property> xml"<a/>".
<http://example.org/resource25> <http://example.org/property> xml"a <b/>".
<http://example.org/resource26> <http://example.org/property> xml"a 
<b></b> c".
<http://example.org/resource26> <http://example.org/property> 
xml"a\n<b></b>\nc".
<http://example.org/resource27> <http://example.org/property> xml"chat".
<http://example.org/resource28> <http://example.org/property> 
xml"chat"-fr.
<http://example.org/resource29> <http://example.org/property> 
xml"chat"-en.
<http://example.org/resource30> <http://example.org/property> "chat"-fr.
<http://example.org/resource31> <http://example.org/property> "chat"-en.

# Proof found for 
http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt in 629 steps 
(14744 s
teps/sec)

Received on Tuesday, 16 July 2002 16:54:26 UTC