[redland-dev] [Raptor RDF Syntax Library 0000488]: Turtle parser does not return error status from turtle_parse_chunk()

Mantis Bug Tracker mantis-bug-sender at librdf.org
Mon Jan 16 21:38:53 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=488 
====================================================================== 
Reported By:                Dave Beckett
Assigned To:                Dave Beckett
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   488
Category:                   api
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Syntax Name:                turtle 
====================================================================== 
Date Submitted:             2012-01-17 02:38
Last Modified:              2012-01-17 02:38
====================================================================== 
Summary:                    Turtle parser does not return error status from
turtle_parse_chunk()
Description: 
Expected to return non-0 after encountering an error during a chunk parse. 
Actually always returns 0.  [This may also affect rdfxml and other parsers]

Steps to Reproduce: 
gcc -ggdb -Wall `redland-config --cflags --libs`  -o parse_error parse_error.c

$ ./parse_error
[error] {Raptor} syntax error at 'a'
Return value: 0
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-01-17 02:38 Dave Beckett   New Issue                                    
2012-01-17 02:38 Dave Beckett   Status                   new => assigned     
2012-01-17 02:38 Dave Beckett   Assigned To               => Dave Beckett    
2012-01-17 02:38 Dave Beckett   File Added: parse_error.c                    
======================================================================



More information about the redland-dev mailing list