A release primarily to fix some win32 and portability issues.
raptor.h now includes stdarg.h
Corrected the raptor_print_statement
declaration in
raptor.h for the argument statement to have one less 'const' which
matches the actual code.
Made several portability fixes for compiling natively on win32 which doesn't quite do POSIX or C99.
Changed the support for file: URIs and converting to and from
filenames. It now %-escapes spaces and % characters on conversion
to and from filenames with
raptor_uri_uri_string_to_filename
,
raptor_uri_uri_string_to_filename_fragment
and
raptor_uri_filename_to_uri_string
.
For Win32, more tests were added and the
format of URIs supported corrected to use the file:///c:
form rather than file://c|/
URIs that resolve to directories now return an error when lstat is available to check.
The Turtle parser was updated to only allow language with non-datatyped literals, allow a '_' immediately after a ':' in qnames and to make a bare ':' qname work correctly.
The Turtle parser was fixed to re-initialise correctly when performing multiple parsings. The other parsers already did this correctly.
Added a warning to the RDF/XML parser for unknown
rdf:parseType
values, when parsing in lax mode - which
is the default. It now tells the user when the parsing is working as
'Literal' mode by finding an unknown value. This is controlled by a
new parser feature warn_other_parsetypes which is default set true
in lax mode. Parser modes are controlled by the
raptor_set_parser_strict
method.
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