CWM NTriples Output Bug

There's another bug in CWM, Llyn, or whatever does the N3 processing these
days, in that literals with "\n" in them don't get reduced. For example:-

[[[
@prefix : <http://infomesh.net/2001/10/test-uri/#> .

:a :b """Some data on
two lines""" .
]]]

becomes:-

[[[
    <http://example.org/#a>     <http://example.org/#b> """Some data on
two lines""" .
]]]

but the literal should have been converted to:-

   "Some data on \ntwo lines"

because newlines/triple quoting syntax is outlawed in NTriples (see the
"literal" EBNF production in [1], and the quoting rules in [2]).

[1] http://www.w3.org/TR/2001/WD-rdf-testcases-20010912/
[2] http://www.w3.org/TR/2001/WD-rdf-testcases-20010912/#ntrip_strings

Cheers,

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .

Received on Friday, 19 October 2001 22:35:50 UTC