[redland-dev] [Raptor RDF Parsing and Serializing Library 0000326]: Turtle parser allows '.' in qnames which is not-to-spec
Mantis Bug Tracker
mantis-bug-sender at librdf.org
Fri Jan 8 19:01:11 CET 2010
The following issue has been SUBMITTED.
======================================================================
http://bugs.librdf.org/mantis/view.php?id=326
======================================================================
Reported By: Dave Beckett
Assigned To:
======================================================================
Project: Raptor RDF Parsing and Serializing Library
Issue ID: 326
Category: api
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
Syntax Name: turtle
======================================================================
Date Submitted: 2010-01-08 18:01
Last Modified: 2010-01-08 18:01
======================================================================
Summary: Turtle parser allows '.' in qnames which is
not-to-spec
Description:
http://chatlogs.planetrdf.com/swig/2010-01-08.html#T17-29-11
<tobyink> I've not really looked at the Turtle spec with regards to this.
But the xml namespaces spec allows "." in qnames - and it seems to work in
rapper.
<kasei> yeah. i tested in rapper, but i'm not sure that aligns with the
published spec...
<tobyink> Perhaps a question for dajobe?
<kasei> yeah. i'm just leaving town, though. think you could ping him
about it?
<kasei> maybe checking the spec first in case I'm just overlooking it? :)
<tobyink> Is "." allowed in Turtle qnames? It's allowed in XML qnames, and
rapper/libraptor supports it in Turtle, but the spec omits it.
...
<dajobe> tobyink: . is not allowed because of n3 compatibility
<dajobe> and . is used as a separator
<dajobe> in n3, it's more 'generous' with ommitting spaces so a bare name
foo. can be ambiguous
<dajobe> I guess this should be in the differences to n3 section
<dajobe> and make raptor/rapper match the spec!
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-01-08 18:01 Dave Beckett New Issue
2010-01-08 18:01 Dave Beckett Syntax Name => turtle
======================================================================
More information about the redland-dev
mailing list