[redland-dev] [Raptor RDF Syntax Library 0000503]: rapper does not properly parse ntriples files with utf-8 strings

Mantis Bug Tracker mantis-bug-sender at librdf.org
Tue Apr 3 06:31:33 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=503 
====================================================================== 
Reported By:                j_a_w_bone
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   503
Category:                   utilities
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2012-04-03 10:31
Last Modified:              2012-04-03 10:31
====================================================================== 
Summary:                    rapper does not properly parse ntriples files with
utf-8 strings
Description: 
Trying to convert an ntriples file containing utf-8 strings into rdfxml,
rapper outputs errors about non-printable characters like:

lt-rapper: Error - URI file:/home/kiefer/Downloads/test.nt:426 column 104 

Besides, the output xml is missing characters.

Steps to Reproduce: 
rapper -i ntriples -o rdfxml test.nt > test.xml

Additional Information: 
The following patch for ntriples_parse.c fixes the problem:

669c669
<                                 '"', RAPTOR_TERM_CLASS_STRING, 0)) {
---
>                                 '"', RAPTOR_TERM_CLASS_STRING, 1)) {

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-03 10:31 j_a_w_bone     New Issue                                    
2012-04-03 10:31 j_a_w_bone     File Added: test.nt                          
======================================================================



More information about the redland-dev mailing list