[redland-dev] [Raptor RDF Parsing and Serializing Library 0000332]: RDFXML parser finds duplicates and misbehaves (when it shouldn't)

Mantis Bug Tracker mantis-bug-sender at librdf.org
Sun Jan 24 21:37:45 CET 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=332 
====================================================================== 
Reported By:                Cordawyn
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Parsing and Serializing Library
Issue ID:                   332
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2010-01-24 20:37
Last Modified:              2010-01-24 20:37
====================================================================== 
Summary:                    RDFXML parser finds duplicates and misbehaves (when
it shouldn't)
Description: 
This bug seems to reproduce for "rdfxml" parser only, others work well (or
pretend to).

Several calls to "librdf_parser_parse_string_as_stream" with input
containing duplicates cause an error with the message shown: "librdf error
URI http://example.org/base:1 - Duplicated rdf:ID value 'object'".

After this error, any subsequent calls to
"librdf_parser_parse_string_as_stream" yield empty streams, unless you
re-initialize the parser object. It seems, the parser object stores some
parsing info it shouldn't?

I've attached a test which demonstrates the error.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-24 20:37 Cordawyn       New Issue                                    
2010-01-24 20:37 Cordawyn       File Added: parser_test.c                    
======================================================================



More information about the redland-dev mailing list