[redland-dev] [Raptor RDF Syntax Library 0000534]: unicode character appears when parsing NTriples to Turtle

Mantis Bug Tracker mantis-bug-sender at librdf.org
Wed Mar 27 20:51:30 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=534 
====================================================================== 
Reported By:                lebot
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   534
Category:                   api
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Syntax Name:                Turtle 
====================================================================== 
Date Submitted:             2013-03-28 00:51
Last Modified:              2013-03-28 00:51
====================================================================== 
Summary:                    unicode character appears when parsing NTriples to
Turtle
Description: 
Unicode character for dash is used instead of dash.

Steps to Reproduce: 
bash-3.2$ cat b.ttl 
<http://example.com/a-b-c-d-e–f-g-h-i-j-j-l/45> a <Thing> .
<http://example.com/0-1-2-a-b-c-d-e–f-g-h-i-j-j-l/45> a <Thing> .

bash-3.2$ rapper -g -o turtle b.ttl 

rapper: Parsing URI file:///Users/me/b.ttl with parser guess
rapper: Serializing with serializer turtle
rapper: Guessed parser name 'turtle'

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<http://example.com/0-1-2-a-b-c-d-e\u2013f-g-h-i-j-j-l/45>
    a <file:///Users/me/Thing> .

<http://example.com/a-b-c-d-e\u2013f-g-h-i-j-j-l/45>
    a <file:///Users/me/Thing> .

rapper: Parsing returned 2 triples
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-03-28 00:51 lebot          New Issue                                    
======================================================================



More information about the redland-dev mailing list