Redland

 view release on metacpan or  search on metacpan

redland/ChangeLog.3  view on Meta::CPAN

	bad uses of bag:ID into errors not warnings.

	* raptor/tests/Makefile.am: Added more bag:ID checks (44-45) and
	errors (bad 05-09) Make test failures stop the 'make check'.

	* raptor/tests/bad-05.rdf, raptor/tests/bad-06.rdf,
	raptor/tests/bad-07.rdf, raptor/tests/bad-08.rdf,
	raptor/tests/bad-09.rdf, raptor/tests/ex-48.rdf,
	raptor/tests/ex-49.rdf, raptor/tests/ex-50.rdf,
	raptor/tests/ex-46.rdf, raptor/tests/ex-47.rdf,
	raptor/tests/ex-48.out, raptor/tests/ex-49.out,
	raptor/tests/ex-50.out, raptor/tests/ex-46.out,
	raptor/tests/ex-47.out: Turned rdf:bagID property element checks
	into errors

	* raptor/raptor_parse.c: Add rdf:bagID checks - only allow it in
	the two cases it is in the grammar - on a node element and an
	empty property element.  Otherwise emit warnings since there is no
	error test case yet.

	* raptor/tests/ex-50.out, raptor/tests/ex-50.rdf,
	raptor/tests/ex-44.out, raptor/tests/ex-45.out,
	raptor/tests/ex-46.out, raptor/tests/ex-47.out,
	raptor/tests/ex-48.out, raptor/tests/ex-49.out,
	raptor/tests/ex-44.rdf, raptor/tests/ex-45.rdf,
	raptor/tests/ex-46.rdf, raptor/tests/ex-47.rdf,
	raptor/tests/ex-48.rdf, raptor/tests/ex-49.rdf: Checking rdf:bagID
	ignored on other property element cases

	* raptor/raptor_parse.c (raptor_generate_statement): Handles
	generating a reified statement ID for use with bagID and then
	reiifying the statement too.

	* raptor/tests/Makefile.am: Add ex-43

	* raptor/tests/ex-43.out, raptor/tests/ex-43.rdf: Test rdf:bagID
	when property elements need generated reified ID

	* raptor/raptor_parse.c (raptor_generate_statement): Gain
	bag_element argument, use it throughout to indicate the element to
	find the rdf:bagID if any.
	(raptor_start_element_grammar): Generate _:bagid rdf:type rdf:Bag
	when rdf:bagID appears on node element.

	* raptor/tests/ex-42.out: Correct for actual output order

2002-12-15  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/tests/ex-03.rdf, raptor/tests/ex-03.out: correct this now
	that rdf:bagID support begins to work

	* raptor/tests/Makefile.am: Added ex-42

	* raptor/tests/ex-42.out, raptor/tests/ex-42.rdf: rdf:bagID

	* raptor/tests/bad-04.rdf: Check rdf:ID and rdf:bagID with same
	value fails

	* raptor/tests/bad-02.rdf: Duplicate rdf:ID names

	* raptor/raptor_parse.c: Make debug less chatty about cdata,
	unless RAPTOR_DEBUG_CDATA defined.

	* raptor/raptor_parse.c (raptor_record_ID): Added, notes rdf:ID
	and rdf:bagID values, checks for duplicates (per in-scope
	base-URI).
	(raptor_free_ID_list): Added, frees structure above.
	(raptor_xml_start_element_handler): Handle xml:base using
	raptor_new_uri_for_xmlbase to strip/fix parts that aren't used.
	(raptor_start_element_grammar): Check for illegal rdf:ID,
	rdf:bagID and rdf:nodeID using raptor_valid_xml_ID.  Check for
	duplicate rdf:ID and rdf:bagID values using raptor_record_ID.
	Only allow parsetype "Literal", "Resource" and "Collection", not
	case-equivalents.  Check for and forbid property attributes on a
	literal property elemnent.

	* raptor/Makefile.am: Added raptor_utf8.c

	* raptor/raptor_internal.h: Export less from raptor_utf8.c

	* raptor/raptor_general.c (raptor_valid_xml_ID): Use
	raptor_unicode_is_namestartchar and raptor_unicode_is_namechar.

	* raptor/raptor_utf8.c: Raptor UTF-8 and Unicode support

	* raptor/tests/bad-03.rdf: Check rdf:ID and rdf:bagID values

	* raptor/tests/Makefile.am: Added bad-02 to bad-04

	* raptor/raptor_uri.c (raptor_uri_construct): Internal; constructs
	a uri-ref string from the parts.
	(raptor_new_uri_for_xmlbase): Ad
	(raptor_uri_resolve_uri_reference): Copy reference path across
	when reference URI has one.  Work for path components that are >1
	letter long.
	(raptor_new_uri_for_xmlbase): Added, makes a new uri from an
	existing one, suitable for xml:base (no fragment, query; path must
	be present).
	(main): Make test cases use example.org.  Add checks for the above
	bugs.

	* raptor/raptor.h: Added prototype for raptor_new_uri_for_xmlbase

	* raptor/ntriples_parse.c: raptor_ntriples_unicode_char_to_utf8
	now raptor_unicode_char_to_utf8
	raptor_ntriples_utf8_to_unicode_char now
	raptor_unicode_utf8_to_unicode_char
	(raptor_print_ntriples_string): Allow no delimiter.

	* raptor/raptor_internal.h: Added prototypes for
	raptor_valid_xml_ID Added prototypes for raptor_unicode_is_*
	methods.  The ntriples_* utf8/unicode methods are now
	raptor_unicode_*

	* raptor/raptor_general.c (raptor_print_statement_as_ntriples):
	N-Triples escape URIs (for IRI compatibility).
	(raptor_validate_xml_ID): Added, checks that the syntax of
	attributes matching xml:ID are correct matching
	http://www.w3.org/TR/REC-xml-names/#NT-NCName

	* raptor/rdfdump.c: Exit 1 on error, 2 on warnings.

redland/ChangeLog.3  view on Meta::CPAN

	* raptor/raptor_general.c, raptor/raptor_parse.c:
	Added rdf:datatype built in.
	Literal datatype URI stored in containing property element.
	Added feature_assume_is_rdf to make rdf:RDF optional.
	(raptor_generate_statement): Add literal datatype URI argument.
	(raptor_xml_parse_chunk_): Return parser errors in initial XML_Parse
	correctly - check if it happens even if end of data.  Similarly for
	libxml's xmlParseChunk.
	(raptor_set_feature): Added feature assume_is_rdf
	(raptor_print_statement_detailed): Added literal datatype URI
	printing.
	(raptor_process_property_attributes): Warn about unqualified
	(property) attributes, don't try to process them.
	(raptor_start_element_grammar): Added feature assume_is_rdf
	splitting scanning for rdf:RDF (feature scanning) and ignoring it
	(feature assume)

	* raptor/raptor_qname.c (raptor_new_qname):
	Don't die on non-namespaced XML; could be used in
	skipping or other processing.

	* raptor/raptor.h: added assume_is_feature
	datatypes built in
	raptor_print_ntriples_string now returns an int

	* raptor/LICENSE.html: Tidy intro, update dates

	* raptor/ntriples_parse.c: change anon->bnodeid
	Add ASCII rather than is* locale-tests and validate bnodeIDs with
	the macros
	(parse_ntriples_string): Check for invalid ASCII chars.
	Tidy error reporting for end of line.
	(raptor_ntriples_parse_line): Add validation of bnodeIDs
	(raptor_ntriples_parse_file): Comments
	(raptor_print_ntriples_string): Handle failure, add a return code

	* raptor/ntriples.h: change anon->bnodeid

	* raptor/configure.in: datatypes built in now

	* raptor/Makefile.am: Clean the test programs

2002-09-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* perl/Makefile.am:
	Updates to make swig re-run and build lib/RDF/Redland/CORE.pm when
	it is needed.

	* python/RDF.py:
	Check for == None as well as == "NULL" as return from SWIG methods.
	(Change to the SWIG calling convention in newer version)

2002-09-19  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* NEWS.html: Update old N-Triples link

	* raptor/Makefile.am:
	Restore rule to make librdf.la for when embedded in Redland

	* raptor/raptor_libxml.c (raptor_libxml_init):
	Enable handling of cdata blocks -
	<![CDATA[...]> by registering callback to raptor_xml_cdata_handler

	* raptor/tests/ex-40.out: Fix node

	* raptor/tests/Makefile.am: Added ex-40

	* raptor/tests/ex-40.out, raptor/tests/ex-40.rdf:
	Check XML CDATA sections

	* raptor/Makefile.am:
	dist-hook added to copy pre-built README and NEWS to release

	* librdf/Makefile.am:
	Remove dist-hook, rpm, finish - not needed or usable any longer.

2002-09-18  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor_namespace.c (raptor_namespace_new):
	Fix debug message to report no URI for namespace.

	* raptor/raptor_namespace.c (raptor_namespace_new):
	Make xmlns="" work when compiling inside Redland.

2002-09-17  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* examples/example1.c:
	Add another statement by hand so we get multiple statements and
	targets

	* librdf/rdf_storage.c
	(librdf_storage_stream_to_node_iterator_get_method):
	Handle being
	called before librdf_storage_stream_to_node_iterator_next_method
	and initialising statement.

	* librdf/rdf_storage_hashes.c
	(librdf_storage_hashes_serialise_next_statement,
	librdf_storage_hashes_group_serialise_next_statement):
	Move
	librdf_iterator_next call till after the data is fetched.

	* docs/api.sgml.in: minor rewordings

	* docs/kernel-doc: Updated to new linux version.
	Fix minor error reporting bug.

	* examples/example1.c: Fix subject to work with updated ../perl/dc.rdf

	* Redland.i:
	Added librdf_node_equals which was already being used by language
	interfaces!

2002-09-16  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor_parse.c (raptor_xml_parse_chunk_):
	For libxml, don't pass in filename to
	xmlCreatePushParserCtxt, we may not always have one.
	For lbixml, return correctly from initial parsing.
	(raptor_xml_parse_chunk): Add docucomments.
	(raptor_parse_file): Terminate loop on end of file as well as error.

redland/ChangeLog.3  view on Meta::CPAN

	* raptor/INSTALL.html: Added some more xml library versions

	* raptor/raptor_parse.c:
	Remove a lot of raptor_update_document_locator calls
	and add them to the start of several functions.
	Replace some expat-specific stuff with general calls.

	* raptor/raptor_parse.c:
	Add raptor_update_document_locator calls before every parser error
	or warning.
	(raptor_expat_update_document_locator): Added.

	* raptor/raptor_internal.h:
	Export raptor_libxml_update_document_locator
	Export raptor_expat_update_document_locator
	Export raptor_update_document_locator

	* raptor/raptor_libxml.c (raptor_libxml_update_document_locator):
	Now not static.
	Remove column numbers - they seem to be total fiction.

	* raptor/raptor_locator.c (raptor_update_document_locator): Added.

	* perl/lib/RDF/Redland.pm: fix docs

	* perl/lib/RDF/Redland.pm: Move subroutines to documented package

	* docs/fix-pod-xhtml: Fix relative URIs

	* docs/perl.html: fix RDF::Redland link

	* perl/lib/RDF/Redland.pm:
	Call new librdf_perl_world_init method to init perl callbacks.
	(message): Added, to dispatch callbacks.
	(set_error_handler,set_warning_handler): Allow users to change handlers

	* librdf/rdf_utf8.c, librdf/rdf_uri.c, librdf/rdf_stream.c,
	librdf/rdf_storage_list.c, librdf/rdf_storage_hashes.c,
	librdf/rdf_storage.c, librdf/rdf_statement.c,
	librdf/rdf_serializer_raptor.c, librdf/rdf_serializer.c,
	librdf/rdf_query_triples.c, librdf/rdf_query.c,
	librdf/rdf_parser_sirpac.c, librdf/rdf_parser_repat.c,
	librdf/rdf_parser_raptor.c, librdf/rdf_parser_libwww.c,
	librdf/rdf_parser.c, librdf/rdf_node.c, librdf/rdf_memory.c,
	librdf/rdf_list.c, librdf/rdf_iterator.c, librdf/rdf_init.c,
	librdf/rdf_heuristics.c, librdf/rdf_hash_memory.c,
	librdf/rdf_hash_gdbm.c, librdf/rdf_hash_cursor.c,
	librdf/rdf_hash_bdb.c, librdf/rdf_hash.c,
	librdf/rdf_digest_openssl.c, librdf/rdf_digest_md5.c,
	librdf/rdf_digest.c:
	Tidying header files.
	stdarg.h required for all sources now.
	Remove rdf_*.h headers that are included by librdf.h

	* librdf/rdf_storage_hashes.c:
	revert default number hashes to 3 for now

	* librdf/Makefile.am:
	Always have compiled java class files in distribution.

	* raptor/raptor_parse.c (raptor_xml_cdata_handler):
	Allow to be ignored when there is no
	element (XML very damaged)

	* raptor/rdfdump.c: Tidy output formatting

	* raptor/raptor_libxml.c:
	Delete extra '\n' at end of XML parsing messages; that's up to the
	app to add.

	* raptor/raptor_parse.c: Removed some \n-s from warning/error messages

	* raptor/raptor_locator.c (raptor_format_locator):
	Don't count \0 in buffer size.

	* raptor/Makefile.am: Added raptor_locator.c

	* raptor/raptor.h: Added raptor_foramt_locator

	* raptor/raptor_locator.c: Raptor parsing locator functions

	* raptor/raptor_parse.c: Moved raptor_print_locator to raptor_locator.c

	* raptor/rdfdump.c:
	Updated for raptor error handlers passed on as strings, not va_list

	* raptor/ntriples_parse.c:
	raptor errors passed on as strings, not va_list
	(raptor_ntriples_parser_error,
	raptor_ntriples_parser_fatal_error): Turn va_list into a string.

	* raptor/raptor_parse.c:
	raptor errors passed on as strings, not va_list
	(raptor_parser_fatal_error_varargs,
	raptor_parser_error_varargs,
	raptor_parser_warning_varargs): Turn va_list into a string.

	* raptor/raptor.h: raptor errors passed on as strings, not va_list

2002-08-18  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/Makefile.am: Add LTLIBOBJS to raptor library, not rdfdump

	* raptor/configure.in: Set LIBOBJS and LTLIBOBJS

	* raptor/configure.in:
	Check for strcasecmp, stricmp or use compatibility version

	* raptor/raptor_internal.h:
	Define raptor_strcasecmp to library routine, or leave alone for
	compatibility function.

	* raptor/Makefile.am: Added @LIBOBJS@
	and strcasecmp.c

	* raptor/strcasecmp.c: strcasecmp compatibility

	* raptor/raptor_parse.c:
	strcasecmp now raptor_strcasecmp, will be defined to right function

	* raptor/win32_config.h:



( run in 1.979 second using v1.01-cache-2.11-cpan-995e09ba956 )