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 ====================================================================== _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
