[redland-dev] [Redland librdf RDF API 0000487]: Does librdf_parser_guess_name2 ever return NULL?
Mantis Bug Tracker
mantis-bug-sender at librdf.org
Wed Dec 21 23:21:15 CET 2011
The following issue has been SUBMITTED.
======================================================================
http://bugs.librdf.org/mantis/view.php?id=487
======================================================================
Reported By: normang
Assigned To:
======================================================================
Project: Redland librdf RDF API
Issue ID: 487
Category: api
Reproducibility: always
Severity: minor
Priority: low
Status: new
======================================================================
Date Submitted: 2011-12-21 22:21
Last Modified: 2011-12-21 22:21
======================================================================
Summary: Does librdf_parser_guess_name2 ever return NULL?
Description:
Function librdf_parser_guess_name2 appears to return non-NULL even for
impossible cases.
For example, calling it with nothing but an "application/ms-word" MIME type, I'm
told that the nquads parser will work; I don't really believe that.
This is currently causing a sanity-check test-case to fail for me -- nothing
more severe than that -- but I can imagine this mattering if
librdf_parser_guess_name2 were used, for example, in a "is this RDF?" test.
It appears that it's in raptor_guess.c that this happens, but I can't spot any
obvious error in that module.
Steps to Reproduce:
No reduction available.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-12-21 22:21 normang New Issue
======================================================================
More information about the redland-dev
mailing list