[redland-dev] [Raptor RDF Parsing and Serializing Library 0000381]: Raptor incorrectly serializes turtle lists when list nodes are URIs.

Mantis Bug Tracker mantis-bug-sender at librdf.org
Mon Aug 16 17:07:21 CEST 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=381 
====================================================================== 
Reported By:                kasei
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Parsing and Serializing Library
Issue ID:                   381
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Syntax Name:                turtle 
====================================================================== 
Date Submitted:             2010-08-16 15:07
Last Modified:              2010-08-16 15:07
====================================================================== 
Summary:                    Raptor incorrectly serializes turtle lists when list
nodes are URIs.
Description: 
If an rdf:List node is a URI instead of a blank node, the turtle serializer
attempts to use the turtle list syntax but emits invalid turtle. I've
attached a two-triple sample file that demonstrates this problem. The
output using rapper v1.4.21:

% rapper -i ntriples -o turtle test.nt

rapper: Parsing URI file:///Users/samofool/Desktop/test.nt with parser
ntriples
rapper: Serializing with serializer turtle
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<list_1>(<element1>
) .

rapper: Parsing returned 2 triples

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-16 15:07 kasei          New Issue                                    
2010-08-16 15:07 kasei          File Added: test.nt                          
2010-08-16 15:07 kasei          Syntax Name               => turtle          
======================================================================



More information about the redland-dev mailing list