A release primarily to provide support for the new Rasqal RDF query library but with some new features and fixes.
Added a new constructor
raptor_new_parser_for_content
to guess the parser to use
from hints in URIs or content, using a new utility function
raptor_guess_parser_name
.
Additional checks were added to the RDF/XML parser for RDF-namespaced names in element and attributes and if they are forbidden giving an error otherwise if unknown, giving a warning.
The
Turtle
parser was updated to correct the collections syntax, allow '-' in
names and QNames and to add integer literals. This parser now correctly
uses raptor_generate_id
when a blank identifier name is
needed.
Completed parser feature support by adding raptor_get_feature
,
raptor_feature_from_uri
, and
raptor_features_enumerate
to get values and enable
discovery of supported features at run time.
raptor_set_feature
was changed to give return a success
value
Added a new method raptor_get_mime_type
to get the
MIME type of the syntax for a parser
raptor_parse_uri_with_connection
(which is called by
raptor_parse_uri
) now sets the HTTP Accept:
header to the MIME type of the parser in WWW requests using the new
raptor_www_set_http_accept
.
rapper
changesAdded options -f
/--feature
for setting
features and -g
/--guess
for guessing syntax
from some content or identifiers. See rapper(1)
for all rapper options.
Added raptor_syntax_name_check
to check for valid
syntax language names.
Added raptor_free_memory
to free memory returned by
raptor functions.
Added Unicode utility functions raptor_unicode_char_to_utf8
and
raptor_utf8_to_unicode_char
.
Exported URI string raptor_xml_literal_datatype_uri_string
.
Deprecated raptor_print_statement_detailed
always
intended to be internal.
Added support to set the HTTP Accept:
header for curl
and libxml2 when retrieving HTTP content by the new
raptor_www_set_http_accept
method.
Added a utility class raptor_sequence
providing
simple sequences that can handle stacks and queues
Added a utility class raptor_stringbuffer
for constructing strings from substrings appended or prepended.
Release notes for 1.2.0 and earlier are in the NEWS page or ChangeLog
Copyright 2003-2004 Dave Beckett, Institute for Learning and Research Technology, University of Bristol