[redland-dev] [Rasqal RDF Query Library 0000430]: Incorrect HTML generated with unknown literal types
Mantis Bug Tracker
mantis-bug-sender at librdf.org
Tue Mar 8 02:54:00 CET 2011
The following issue has been SUBMITTED.
======================================================================
http://bugs.librdf.org/mantis/view.php?id=430
======================================================================
Reported By: dbrnz
Assigned To:
======================================================================
Project: Rasqal RDF Query Library
Issue ID: 430
Category: api
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Query Language:
======================================================================
Date Submitted: 2011-03-08 01:54
Last Modified: 2011-03-08 01:54
======================================================================
Summary: Incorrect HTML generated with unknown literal types
Description:
A standalone '</span>' is generated when a literal cannot be converted, due to a
missing function return. The fix is:
{{{
--- a/src/rasqal_format_html.c
+++ b/src/rasqal_format_html.c
@@ -109,6 +109,7 @@ rasqal_iostream_write_html_literal(rasqal_world* world,
rasqal_log_error_simple(world, RAPTOR_LOG_LEVEL_ERROR, NULL,
"Cannot turn literal type %d into HTML",
l->type);
+ return 1;
}
raptor_iostream_counted_string_write("</span>", 7, iostr);
}}}
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-03-08 01:54 dbrnz New Issue
======================================================================
More information about the redland-dev
mailing list