Changes between raptor2 1.4.21 and 2.0.0

New functions, types and enums

Functions

Deleted functions, types and enums

Functions

Types

  • raptor_error_handlers - Replaced by generic raptor log mechanism. See raptor_world_set_log_handler()

  • raptor_free_uri_func - Entire URI implementation is internal and not replaceable.

  • raptor_libxml_flags - replaced by raptor_world_set_flags() with raptor_world_flag

  • raptor_message_handler - Replaced by generic raptor log mechanism. See raptor_world_set_log_handler()

  • raptor_message_handler_closure - Replaced by generic raptor log mechanism. See raptor_world_set_log_handler()

  • raptor_new_uri_for_rdf_concept_func - Entire URI implementation is internal and not replaceable.

  • raptor_new_uri_from_uri_local_name_func - Entire URI implementation is internal and not replaceable.

  • raptor_new_uri_func - Entire URI implementation is internal and not replaceable.

  • raptor_new_uri_relative_to_base_func - Entire URI implementation is internal and not replaceable.

  • raptor_ntriples_parser - replaced by raptor_parser

  • raptor_ntriples_term_type - replaced by raptor_term_type

  • raptor_uri_as_counted_string_func - Entire URI implementation is internal and not replaceable.

  • raptor_uri_as_string_func - Entire URI implementation is internal and not replaceable.

  • raptor_uri_compare_func - Entire URI implementation is internal and not replaceable.

  • raptor_uri_copy_func - Entire URI implementation is internal and not replaceable.

  • raptor_uri_equals_func - Entire URI implementation is internal and not replaceable.

  • raptor_uri_handler - Entire URI implementation is internal and not replaceable.

  • raptor_uri_source - URI source was useless.

Enums

  • RAPTOR_FEATURE_ASSUME_IS_RDF - Never used.

  • RAPTOR_FEATURE_START_URI - Never used.

  • RAPTOR_GENID_TYPE_BAGID - There is just one type of generated ID now.

  • RAPTOR_GENID_TYPE_BNODEID - There is just one type of generated ID now.

  • RAPTOR_IDENTIFIER_TYPE_ORDINAL - Deprecated value deleted.

  • RAPTOR_URI_SOURCE_ATTRIBUTE - URI source concept removed.

  • RAPTOR_URI_SOURCE_BLANK_ID - URI source concept removed.

  • RAPTOR_URI_SOURCE_ELEMENT - URI source concept removed.

  • RAPTOR_URI_SOURCE_GENERATED - URI source concept removed.

  • RAPTOR_URI_SOURCE_ID - URI source concept removed.

  • RAPTOR_URI_SOURCE_NOT_URI - URI source concept removed.

  • RAPTOR_URI_SOURCE_UNKNOWN - URI source concept removed.

  • RAPTOR_URI_SOURCE_URI - URI source concept removed.

Renamed function and enums

1.4.21 function 2.0.0 function Notes
raptor_format_locator raptor_locator_format  
raptor_get_feature_count raptor_option_get_count  
raptor_get_locator raptor_parser_get_locator  
raptor_get_name raptor_parser_get_name  
raptor_guess_parser_name_v2 raptor_world_guess_parser_name  
raptor_namespace_copy raptor_namespace_stack_start_namespace  
raptor_namespaces_format raptor_namespace_format_as_xml  
raptor_namespaces_qname_from_uri raptor_new_qname_from_namespace_uri  
raptor_new_namespace_parts_from_string raptor_xml_namespace_string_parse  
raptor_new_parser_for_content_v2 raptor_new_parser_for_content  
raptor_new_parser_v2 raptor_new_parser  
raptor_new_qname_from_namespace_local_name_v2 raptor_new_qname_from_namespace_local_name  
raptor_new_serializer_v2 raptor_new_serializer  
raptor_new_uri_from_id_v2 raptor_new_uri_from_id  
raptor_new_uri_from_uri_local_name_v2 raptor_new_uri_from_uri_local_name  
raptor_new_uri_relative_to_base_v2 raptor_new_uri_relative_to_base  
raptor_new_uri_v2 raptor_new_uri  
raptor_parse_abort raptor_parser_parse_abort  
raptor_parse_chunk raptor_parser_parse_chunk  
raptor_parse_file raptor_parser_parse_file  
raptor_parse_file_stream raptor_parser_parse_file_stream  
raptor_parse_uri raptor_parser_parse_uri  
raptor_parse_uri_with_connection raptor_parser_parse_uri_with_connection  
raptor_serialize_end raptor_serializer_serialize_end  
raptor_serialize_set_namespace raptor_serializer_set_namespace  
raptor_serialize_set_namespace_from_namespace raptor_serializer_set_namespace_from_namespace  
raptor_serialize_start raptor_serializer_start_to_iostream  
raptor_serialize_start_to_file_handle raptor_serializer_start_to_file_handle  
raptor_serialize_start_to_filename raptor_serializer_start_to_filename  
raptor_serialize_start_to_iostream raptor_serializer_start_to_iostream  
raptor_serialize_start_to_string raptor_serializer_start_to_string  
raptor_serializer_syntax_name_check_v2 raptor_world_is_serializer_name  
raptor_set_namespace_handler raptor_parser_set_namespace_handler  
raptor_set_statement_handler raptor_parser_set_statement_handler  
raptor_start_parse raptor_parser_parse_start  
raptor_uri_is_file_uri raptor_uri_uri_string_is_file_uri  
raptor_utf8_check raptor_unicode_check_utf8_string  
raptor_www_free raptor_free_www  
raptor_www_new_v2 raptor_new_www  
raptor_www_new_with_connection_v2 raptor_new_www_with_connection  
1.4.21 enum 2.0.0 enum Notes
RAPTOR_FEATURE_ALLOW_BAGID RAPTOR_OPTION_ALLOW_BAGID  
RAPTOR_FEATURE_ALLOW_NON_NS_ATTRIBUTES RAPTOR_OPTION_ALLOW_NON_NS_ATTRIBUTES  
RAPTOR_FEATURE_ALLOW_OTHER_PARSETYPES RAPTOR_OPTION_ALLOW_OTHER_PARSETYPES  
RAPTOR_FEATURE_ALLOW_RDF_TYPE_RDF_LIST RAPTOR_OPTION_ALLOW_RDF_TYPE_RDF_LIST  
RAPTOR_FEATURE_ATOM_ENTRY_URI RAPTOR_OPTION_ATOM_ENTRY_URI  
RAPTOR_FEATURE_BNODE_BORDER RAPTOR_OPTION_BNODE_BORDER  
RAPTOR_FEATURE_BNODE_FILL RAPTOR_OPTION_BNODE_FILL  
RAPTOR_FEATURE_CHECK_RDF_ID RAPTOR_OPTION_CHECK_RDF_ID  
RAPTOR_FEATURE_HTML_LINK RAPTOR_OPTION_HTML_LINK  
RAPTOR_FEATURE_HTML_TAG_SOUP RAPTOR_OPTION_HTML_TAG_SOUP  
RAPTOR_FEATURE_JSON_CALLBACK RAPTOR_OPTION_JSON_CALLBACK  
RAPTOR_FEATURE_JSON_EXTRA_DATA RAPTOR_OPTION_JSON_EXTRA_DATA  
RAPTOR_FEATURE_LAST RAPTOR_OPTION_LAST  
RAPTOR_FEATURE_LITERAL_BORDER RAPTOR_OPTION_LITERAL_BORDER  
RAPTOR_FEATURE_LITERAL_FILL RAPTOR_OPTION_LITERAL_FILL  
RAPTOR_FEATURE_MICROFORMATS RAPTOR_OPTION_MICROFORMATS  
RAPTOR_FEATURE_NON_NFC_FATAL RAPTOR_OPTION_NON_NFC_FATAL  
RAPTOR_FEATURE_NORMALIZE_LANGUAGE RAPTOR_OPTION_NORMALIZE_LANGUAGE  
RAPTOR_FEATURE_NO_NET RAPTOR_OPTION_NO_NET  
RAPTOR_FEATURE_PREFIX_ELEMENTS RAPTOR_OPTION_PREFIX_ELEMENTS  
RAPTOR_FEATURE_RELATIVE_URIS RAPTOR_OPTION_RELATIVE_URIS  
RAPTOR_FEATURE_RESOURCE_BORDER RAPTOR_OPTION_RESOURCE_BORDER  
RAPTOR_FEATURE_RESOURCE_FILL RAPTOR_OPTION_RESOURCE_FILL  
RAPTOR_FEATURE_RSS_TRIPLES RAPTOR_OPTION_RSS_TRIPLES  
RAPTOR_FEATURE_SCANNING RAPTOR_OPTION_SCANNING  
RAPTOR_FEATURE_WARN_OTHER_PARSETYPES RAPTOR_OPTION_WARN_OTHER_PARSETYPES  
RAPTOR_FEATURE_WRITER_AUTO_EMPTY RAPTOR_OPTION_WRITER_AUTO_EMPTY  
RAPTOR_FEATURE_WRITER_AUTO_INDENT RAPTOR_OPTION_WRITER_AUTO_INDENT  
RAPTOR_FEATURE_WRITER_INDENT_WIDTH RAPTOR_OPTION_WRITER_INDENT_WIDTH  
RAPTOR_FEATURE_WRITER_XML_DECLARATION RAPTOR_OPTION_WRITER_XML_DECLARATION  
RAPTOR_FEATURE_WRITER_XML_VERSION RAPTOR_OPTION_WRITER_XML_VERSION  
RAPTOR_FEATURE_WRITE_BASE_URI RAPTOR_OPTION_WRITE_BASE_URI  
RAPTOR_FEATURE_WWW_HTTP_CACHE_CONTROL RAPTOR_OPTION_WWW_HTTP_CACHE_CONTROL  
RAPTOR_FEATURE_WWW_HTTP_USER_AGENT RAPTOR_OPTION_WWW_HTTP_USER_AGENT  
RAPTOR_FEATURE_WWW_TIMEOUT RAPTOR_OPTION_WWW_TIMEOUT  
RAPTOR_IDENTIFIER_TYPE_ANONYMOUS RAPTOR_TERM_TYPE_BLANK  
RAPTOR_IDENTIFIER_TYPE_LITERAL RAPTOR_TERM_TYPE_LITERAL  
RAPTOR_IDENTIFIER_TYPE_PREDICATE RAPTOR_TERM_TYPE_URI  
RAPTOR_IDENTIFIER_TYPE_RESOURCE RAPTOR_TERM_TYPE_URI  
RAPTOR_IDENTIFIER_TYPE_UNKNOWN RAPTOR_TERM_TYPE_UNKNOWN  
RAPTOR_IDENTIFIER_TYPE_XML_LITERAL RAPTOR_TERM_TYPE_LITERAL  
RAPTOR_LIBXML_FLAGS_GENERIC_ERROR_SAVE RAPTOR_WORLD_FLAG_LIBXML_GENERIC_ERROR_SAVE Flag setting is done by raptor_world_set_flags()
RAPTOR_LIBXML_FLAGS_STRUCTURED_ERROR_SAVE RAPTOR_WORLD_FLAG_LIBXML_STRUCTURED_ERROR_SAVE Flag setting is done by raptor_world_set_flags()
RAPTOR_LOG_LEVEL_WARNING RAPTOR_LOG_LEVEL_WARN  
RAPTOR_NTRIPLES_TERM_TYPE_BLANK_NODE RAPTOR_TERM_TYPE_BLANK  
RAPTOR_NTRIPLES_TERM_TYPE_LITERAL RAPTOR_TERM_TYPE_LITERAL  
RAPTOR_NTRIPLES_TERM_TYPE_URI_REF RAPTOR_TERM_TYPE_URI  

Changed functions and types

1.4.21 function 2.0.0 function Notes
raptor_feature raptor_feature_from_uri(raptor_uri *uri) raptor_option raptor_world_get_option_from_uri(raptor_world* world, raptor_uri *uri)  
raptor_feature raptor_feature_from_uri_v2(raptor_world* world, raptor_uri *uri) raptor_option raptor_world_get_option_from_uri(raptor_world* world, raptor_uri *uri)  
int raptor_features_enumerate(const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label) raptor_option_description* raptor_world_get_option_description(raptor_world* world, const raptor_domain domain, const raptor_option option) Call with domain = RAPTOR_DOMAIN_PARSER
int raptor_features_enumerate_v2(raptor_world* world, const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label) raptor_option_description* raptor_world_get_option_description(raptor_world* world, const raptor_domain domain, const raptor_option option) Call with domain = RAPTOR_DOMAIN_PARSER
int raptor_format_locator_v2(raptor_world* world, char* buffer, size_t length, raptor_locator* locator) int raptor_locator_format(char* buffer, size_t length, raptor_locator* locator)  
void raptor_free_uri_v2(raptor_world* world, raptor_uri *uri) void raptor_free_uri(raptor_uri *uri)  
int raptor_get_feature(raptor_parser *parser, raptor_feature feature) int raptor_parser_get_option(raptor_parser *parser, raptor_option option, char** string_p, int* integer_p)  
const char* raptor_get_label(raptor_parser *rdf_parser) raptor_syntax_description* raptor_parser_get_description(raptor_parser* rdf_parser) Use label field of returned description.
const char* raptor_get_mime_type(raptor_parser *rdf_parser) raptor_syntax_description* raptor_parser_get_description(raptor_parser* rdf_parser) Use the mime_types array field of returned raptor_syntax_description
int raptor_get_need_base_uri(raptor_parser *rdf_parser) raptor_syntax_description* raptor_parser_get_description(raptor_parser* rdf_parser) Use the RAPTOR_SYNTAX_NEED_BASE_URI bitflag in the flags field of the returned raptor_syntax_description
const char* raptor_guess_parser_name(raptor_uri *uri, const char* mime_type, const unsigned char* buffer, size_t len, const unsigned char* identifier) const char* raptor_world_guess_parser_name(raptor_world* world, raptor_uri *uri, const char* mime_type, const unsigned char* buffer, size_t len, const unsigned char* identifier)  
int raptor_iostream_format_hexadecimal(raptor_iostream* iostr, unsigned int integer, int width) int raptor_iostream_hexadecimal_write(unsigned int integer, int width, raptor_iostream* iostr)  
int raptor_iostream_read_bytes(raptor_iostream* iostr, void *ptr, size_t size, size_t nmemb) int raptor_iostream_read_bytes(void *ptr, size_t size, size_t nmemb, raptor_iostream* iostr)  
int raptor_iostream_write_byte(raptor_iostream *iostr, const int byte) int raptor_iostream_write_byte(const int byte, raptor_iostream *iostr)  
int raptor_iostream_write_bytes(raptor_iostream *iostr, const void *ptr, size_t size, size_t nmemb) int raptor_iostream_write_bytes(const void *ptr, size_t size, size_t nmemb, raptor_iostream *iostr)  
int raptor_iostream_write_counted_string(raptor_iostream *iostr, const void *string, size_t len) int raptor_iostream_counted_string_write(const void *string, size_t len, raptor_iostream *iostr)  
int raptor_iostream_write_decimal(raptor_iostream* iostr, int integer) int raptor_iostream_decimal_write(int integer, raptor_iostream* iostr)  
void raptor_iostream_write_end(raptor_iostream *iostr) int raptor_iostream_write_end(raptor_iostream *iostr)  
int raptor_iostream_write_namespace(raptor_iostream* iostr, raptor_namespace *ns) int raptor_namespace_write(raptor_namespace *ns, raptor_iostream* iostr)  
int raptor_iostream_write_qname(raptor_iostream* iostr, raptor_qname *qname) int raptor_qname_write(raptor_qname *qname, raptor_iostream* iostr)  
void raptor_iostream_write_statement_ntriples(raptor_iostream* iostr, const raptor_statement *statement) int raptor_statement_ntriples_write(const raptor_statement *statement, raptor_iostream* iostr, int write_graph_term) Gains extra flag arg to decide whether to write any graph term.
int raptor_iostream_write_string(raptor_iostream *iostr, const void *string) int raptor_iostream_string_write(const void *string, raptor_iostream *iostr)  
int raptor_iostream_write_string_ntriples(raptor_iostream *iostr, const unsigned char* string, size_t len, const char delim) int raptor_string_ntriples_write(const unsigned char* string, size_t len, const char delim, raptor_iostream *iostr)  
int raptor_iostream_write_string_python(raptor_iostream *iostr, const unsigned char* string, size_t len, const char delim, int flags) int raptor_string_python_write(const unsigned char* string, size_t len, const char delim, int flags, raptor_iostream *iostr)  
int raptor_iostream_write_stringbuffer(raptor_iostream* iostr, raptor_stringbuffer *sb) int raptor_stringbuffer_write(raptor_stringbuffer *sb, raptor_iostream* iostr)  
int raptor_iostream_write_uri(raptor_iostream *iostr, raptor_uri *uri) int raptor_uri_write(raptor_uri *uri, raptor_iostream *iostr)  
int raptor_iostream_write_uri_v2(raptor_world* world, raptor_iostream *iostr, raptor_uri *uri) int raptor_uri_write(raptor_uri *uri, raptor_iostream *iostr)  
int raptor_iostream_write_xml_any_escaped_string(raptor_iostream* iostr, const unsigned char* string, size_t len, char quote, int xml_version, raptor_simple_message_handler error_handler, void *error_data) int raptor_xml_escape_string_any_write(const unsigned char* string, size_t len, char quote, int xml_version, raptor_iostream* iostr)  
int raptor_iostream_write_xml_element(raptor_iostream *iostr, raptor_xml_element *element, raptor_namespace_stack *nstack, int is_empty, int is_end, raptor_simple_message_handler error_handler, void *error_data, int depth) int raptor_xml_element_write(raptor_xml_element *element, raptor_namespace_stack *nstack, int is_empty, int is_end, int depth, raptor_iostream *iostr)  
int raptor_iostream_write_xml_escaped_string(raptor_iostream* iostr, const unsigned char* string, size_t len, char quote, raptor_simple_message_handler error_handler, void *error_data) int raptor_xml_escape_string_write(const unsigned char* string, size_t len, char quote, raptor_iostream* iostr)  
const char* raptor_locator_uri_v2(raptor_world* world, raptor_locator *locator) const char* raptor_locator_uri(raptor_locator *locator)  
int raptor_namespaces_init(raptor_namespace_stack *nstack, const raptor_uri_handler *uri_handler, void *uri_context, raptor_simple_message_handler error_handler, void *error_data, int defaults) int raptor_namespaces_init(raptor_world* world, raptor_namespace_stack *nstack, int defaults)  
int raptor_namespaces_init_v2(raptor_world* world, raptor_namespace_stack *nstack, raptor_simple_message_handler error_handler, void *error_data, int defaults) int raptor_namespaces_init(raptor_world* world, raptor_namespace_stack *nstack, int defaults)  
raptor_iostream* raptor_new_iostream_from_file_handle(FILE *handle) raptor_iostream* raptor_new_iostream_from_file_handle(raptor_world* world, FILE *handle)  
raptor_iostream* raptor_new_iostream_from_filename(const char* filename) raptor_iostream* raptor_new_iostream_from_filename(raptor_world* world, const char* filename)  
raptor_iostream* raptor_new_iostream_from_handler(void *context, const raptor_iostream_handler *handler) raptor_iostream* raptor_new_iostream_from_handler(raptor_world* world, void *user_data, const raptor_iostream_handler* const handler)  
raptor_iostream* raptor_new_iostream_from_handler2(void *user_data, const raptor_iostream_handler2* const handler2) raptor_iostream* raptor_new_iostream_from_handler(raptor_world* world, void *user_data, const raptor_iostream_handler* const handler)  
raptor_iostream* raptor_new_iostream_from_sink(void) raptor_iostream* raptor_new_iostream_from_sink(raptor_world* world)  
raptor_iostream* raptor_new_iostream_from_string(void *string, size_t length) raptor_iostream* raptor_new_iostream_from_string(raptor_world* world, void *string, size_t length)  
raptor_iostream* raptor_new_iostream_to_file_handle(FILE *handle) raptor_iostream* raptor_new_iostream_to_file_handle(raptor_world* world, FILE *handle)  
raptor_iostream* raptor_new_iostream_to_filename(const char* filename) raptor_iostream* raptor_new_iostream_to_filename(raptor_world* world, const char* filename)  
raptor_iostream* raptor_new_iostream_to_sink(void) raptor_iostream* raptor_new_iostream_to_sink(raptor_world* world)  
raptor_iostream* raptor_new_iostream_to_string(void **string_p, size_t *length_p, void *(*malloc_handler)(size_t size)) raptor_iostream* raptor_new_iostream_to_string(raptor_world* world, void **string_p, size_t *length_p, void *(*malloc_handler)(size_t size))  
raptor_namespace_stack* raptor_new_namespaces(const raptor_uri_handler *uri_handler, void *uri_context, raptor_simple_message_handler error_handler, void *error_data, int defaults) raptor_namespace_stack* raptor_new_namespaces(raptor_world* world, int defaults)  
raptor_namespace_stack* raptor_new_namespaces_v2(raptor_world* world, raptor_simple_message_handler error_handler, void *error_data, int defaults) raptor_namespace_stack* raptor_new_namespaces(raptor_world* world, int defaults)  
raptor_parser* raptor_new_parser(const char* name) raptor_parser* raptor_new_parser(raptor_world* world, const char* name)  
raptor_parser* raptor_new_parser_for_content(raptor_uri *uri, const char* mime_type, const unsigned char* buffer, size_t len, const unsigned char* identifier) raptor_parser* raptor_new_parser_for_content(raptor_world* world, raptor_uri *uri, const char* mime_type, const unsigned char* buffer, size_t len, const unsigned char* identifier)  
raptor_qname* raptor_new_qname(raptor_namespace_stack *nstack, const unsigned char* name, const unsigned char* value, raptor_simple_message_handler error_handler, void *error_data) raptor_qname* raptor_new_qname(raptor_namespace_stack *nstack, const unsigned char* name, const unsigned char* value)  
raptor_qname* raptor_new_qname_from_namespace_local_name(raptor_namespace *ns, const unsigned char* local_name, const unsigned char* value) raptor_qname* raptor_new_qname_from_namespace_local_name(raptor_world* world, raptor_namespace *ns, const unsigned char* local_name, const unsigned char* value)  
raptor_sax2* raptor_new_sax2(void *user_data, raptor_error_handlers* error_handlers) raptor_sax2* raptor_new_sax2(raptor_world *world, raptor_locator *locator, void* user_data)  
raptor_sequence* raptor_new_sequence(raptor_sequence_free_handler* free_handler, raptor_sequence_print_handler* print_handler) raptor_sequence* raptor_new_sequence(raptor_data_free_handler free_handler, raptor_data_print_handler print_handler)  
raptor_sequence* raptor_new_sequence_v2(raptor_sequence_free_handler_v2* free_handler, raptor_sequence_print_handler_v2* print_handler, void* handler_context) raptor_sequence* raptor_new_sequence(raptor_data_free_handler free_handler, raptor_data_print_handler print_handler)  
raptor_serializer* raptor_new_serializer(const char* name) raptor_serializer* raptor_new_serializer(raptor_world* world, const char* name)  
raptor_uri* raptor_new_uri(const unsigned char* uri_string) raptor_uri* raptor_new_uri(raptor_world* world, const unsigned char* uri_string)  
raptor_uri* raptor_new_uri_for_rdf_concept(const char* name) raptor_uri* raptor_new_uri_for_rdf_concept(raptor_world* world, const unsigned char* name)  
raptor_uri* raptor_new_uri_for_rdf_concept_v2(raptor_world* world, const char* name) raptor_uri* raptor_new_uri_for_rdf_concept(raptor_world* world, const unsigned char* name)  
raptor_uri* raptor_new_uri_for_retrieval_v2(raptor_world* world, raptor_uri* old_uri) raptor_uri* raptor_new_uri_for_retrieval(raptor_uri* old_uri)  
raptor_uri* raptor_new_uri_for_xmlbase_v2(raptor_world* world, raptor_uri* old_uri) raptor_uri* raptor_new_uri_for_xmlbase(raptor_uri* old_uri)  
raptor_uri* raptor_new_uri_from_id(raptor_uri *base_uri, const unsigned char* id) raptor_uri* raptor_new_uri_from_id(raptor_world* world, raptor_uri *base_uri, const unsigned char* id)  
raptor_uri* raptor_new_uri_from_uri_local_name(raptor_uri *uri, const unsigned char* local_name) raptor_uri* raptor_new_uri_from_uri_local_name(raptor_world* world, raptor_uri *uri, const unsigned char* local_name)  
raptor_uri* raptor_new_uri_relative_to_base(raptor_uri *base_uri, const unsigned char* uri_string) raptor_uri* raptor_new_uri_relative_to_base(raptor_world* world, raptor_uri *base_uri, const unsigned char* uri_string)  
raptor_xml_writer* raptor_new_xml_writer(raptor_namespace_stack *nstack, const raptor_uri_handler *uri_handler, void *uri_context, raptor_iostream* iostr, raptor_simple_message_handler error_handler, void *error_data, int canonicalize) raptor_xml_writer* raptor_new_xml_writer(raptor_world* world, raptor_namespace_stack *nstack, raptor_iostream* iostr)  
raptor_xml_writer* raptor_new_xml_writer_v2(raptor_world* world, raptor_namespace_stack *nstack, raptor_iostream* iostr, raptor_simple_message_handler error_handler, void *error_data, int canonicalize) raptor_xml_writer* raptor_new_xml_writer(raptor_world* world, raptor_namespace_stack *nstack, raptor_iostream* iostr)  
const unsigned char* raptor_parser_get_feature_string(raptor_parser *parser, raptor_feature feature) const unsigned char* raptor_parser_get_option(raptor_parser *parser, raptor_option option, char** string_p, int* integer_p)  
int raptor_parser_set_feature_string(raptor_parser *parser, raptor_feature feature, const unsigned char* value) int raptor_parser_set_option(raptor_parser *parser, raptor_option option, char* string, int integer)  
int raptor_parsers_enumerate(const unsigned int counter, const char* *name, const char* *label) raptor_syntax_description* raptor_world_get_parser_description(raptor_world* world, unsigned int counter)  
int raptor_parsers_enumerate_v2(raptor_world* world, const unsigned int counter, const char* *name, const char* *label) raptor_syntax_description* raptor_world_get_parser_description(raptor_world* world, const unsigned int counter)  
void raptor_print_locator(FILE *stream, raptor_locator* locator) int raptor_locator_print(raptor_locator* locator, FILE *stream)  
void raptor_print_locator_v2(raptor_world* world, FILE *stream, raptor_locator* locator) void raptor_locator_print(raptor_locator* locator, FILE *stream)  
void raptor_print_statement(const raptor_statement * statement, FILE *stream) int raptor_statement_print(const raptor_statement * statement, FILE *stream)  
void raptor_print_statement_as_ntriples(const raptor_statement * statement, FILE *stream) int raptor_statement_print_as_ntriples(const raptor_statement * statement, FILE *stream)  
void raptor_print_statement_as_ntriples_v2(const raptor_statement_v2 * statement, FILE *stream) int raptor_statement_print_as_ntriples(const raptor_statement * statement, FILE *stream)  
void raptor_print_statement_v2(const raptor_statement_v2 * statement, FILE *stream) int raptor_statement_print(const raptor_statement * statement, FILE *stream)  
raptor_uri* raptor_qname_string_to_uri(raptor_namespace_stack *nstack, const unsigned char* name, size_t name_len, raptor_simple_message_handler error_handler, void *error_data) raptor_uri* raptor_qname_string_to_uri(raptor_namespace_stack *nstack, const unsigned char* name, size_t name_len)  
void raptor_sequence_print(raptor_sequence* seq, FILE* fh) int raptor_sequence_print(raptor_sequence* seq, FILE* fh)  
void raptor_sequence_sort(raptor_sequence* seq, int(*compare)(const void *, const void *)) void raptor_sequence_sort(raptor_sequence* seq, raptor_data_compare_handler compare)  
int raptor_serialize_statement(raptor_serializer* rdf_serializer, const raptor_statement *statement) int raptor_serializer_serialize_statement(raptor_serializer* rdf_serializer, raptor_statement *statement)  
int raptor_serializer_features_enumerate(const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label) raptor_option_description* raptor_world_get_option_description(raptor_world* world, const raptor_domain domain, const raptor_option option) Call with domain = RAPTOR_DOMAIN_SERIALIZER
int raptor_serializer_features_enumerate_v2(raptor_world* world, const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label) raptor_option_description* raptor_world_get_option_description(raptor_world* world, const raptor_domain domain, const raptor_option option) Call with domain = RAPTOR_DOMAIN_SERIALIZER
int raptor_serializer_get_feature(raptor_serializer *serializer, raptor_feature feature) int raptor_serializer_get_option(raptor_serializer *serializer, raptor_option option)  
const unsigned char* raptor_serializer_get_feature_string(raptor_serializer *serializer, raptor_feature feature) int raptor_serializer_get_option(raptor_serializer *serializer, raptor_option option, char** string_p, int* integer_p)  
int raptor_serializer_set_feature(raptor_serializer *serializer, raptor_feature feature, int value) int raptor_serializer_set_option(raptor_serializer *serializer, raptor_option option, char* string, int integer)  
int raptor_serializer_set_feature_string(raptor_serializer *serializer, raptor_feature feature, const unsigned char* value) int raptor_serializer_set_option(raptor_serializer *serializer, raptor_option option, char* string, int integer)  
int raptor_serializer_syntax_name_check(const char* name) int raptor_world_is_serializer_name(raptor_world* world, const char* name)  
int raptor_serializers_enumerate(const unsigned int counter, const char* *name, const char* *label, const char* *mime_type, const unsigned char* *uri_string) const raptor_syntax_description* raptor_world_get_serializer_description(raptor_world* world, unsigned int counter)  
int raptor_serializers_enumerate_v2(raptor_world* world, const unsigned int counter, const char* *name, const char* *label, const char* *mime_type, const unsigned char* *uri_string) const raptor_syntax_description* raptor_world_get_serializer_description(raptor_world* world, const unsigned int counter)  
void raptor_set_default_generate_id_parameters(raptor_parser* rdf_parser, char* prefix, int base) void raptor_world_set_generate_bnodeid_parameters(raptor_world* world, char* prefix, int base)  
int raptor_set_feature(raptor_parser *parser, raptor_feature feature, int value) int raptor_parser_set_option(raptor_parser *parser, raptor_option option, char* string, int integer)  
void raptor_set_generate_id_handler(raptor_parser* parser, void *user_data, raptor_generate_id_handler handler) void raptor_world_set_generate_bnodeid_handler(raptor_world* world, void *user_data, raptor_generate_bnodeid_handler handler)  
void raptor_set_graph_handler(raptor_parser* parser, void *user_data, raptor_graph_handler handler) void raptor_parser_set_graph_mark_handler(raptor_parser* parser, void *user_data, raptor_graph_mark_handler handler)  
void raptor_set_libxslt_security_preferences(void *security_preferences) int raptor_world_set_libxslt_security_preferences(raptor_world *world, void *security_preferences)  
int raptor_statement_compare_v2(const raptor_statement_v2 *s1, const raptor_statement_v2 *s2) int raptor_statement_compare(const raptor_statement *s1, const raptor_statement *s2)  
int raptor_syntax_name_check(const char* name) int raptor_world_is_parser_name(raptor_world* world, const char *name)  
int raptor_syntax_name_check_v2(raptor_world* world, const char* name) int raptor_world_is_parser_name(raptor_world* world, const char *name)  
int raptor_syntaxes_enumerate(const unsigned int counter, const char* *name, const char* *label, const char* *mime_type, const unsigned char* *uri_string) raptor_syntax_description* raptor_world_get_parser_description(raptor_world* world, const unsigned int counter)  
int raptor_syntaxes_enumerate_v2(raptor_world* world, const unsigned int counter, const char* *name, const char* *label, const char* *mime_type, const unsigned char* *uri_string) raptor_syntax_description* raptor_world_get_parser_description(raptor_world* world, const unsigned int counter)  
int raptor_unicode_char_to_utf8(raptor_unichar c, unsigned char* output) int raptor_unicode_utf8_string_put_char(raptor_unichar c, unsigned char* output, size_t length)  
unsigned char* raptor_uri_as_counted_string_v2(raptor_world* world, raptor_uri *uri, size_t* len_p) unsigned char* raptor_uri_as_counted_string(raptor_uri *uri, size_t* len_p)  
unsigned char* raptor_uri_as_string_v2(raptor_world* world, raptor_uri *uri) unsigned char* raptor_uri_as_string(raptor_uri *uri)  
int raptor_uri_compare_v2(raptor_world* world, raptor_uri* uri1, raptor_uri* uri2) int raptor_uri_compare(raptor_uri* uri1, raptor_uri* uri2)  
raptor_uri* raptor_uri_copy_v2(raptor_world* world, raptor_uri *uri) raptor_uri* raptor_uri_copy(raptor_uri *uri)  
int raptor_uri_equals_v2(raptor_world* world, raptor_uri* uri1, raptor_uri* uri2) int raptor_uri_equals(raptor_uri* uri1, raptor_uri* uri2)  
void raptor_uri_print(const raptor_uri* uri, FILE *stream) int raptor_uri_print(const raptor_uri* uri, FILE *stream)  
void raptor_uri_print_v2(raptor_world* world, const raptor_uri* uri, FILE *stream) int raptor_uri_print(const raptor_uri* uri, FILE *stream)  
void raptor_uri_resolve_uri_reference(const unsigned char* base_uri, const unsigned char* reference_uri, unsigned char* buffer, size_t length) size_t raptor_uri_resolve_uri_reference(const unsigned char* base_uri, const unsigned char* reference_uri, unsigned char* buffer, size_t length)  
unsigned char* raptor_uri_to_counted_string_v2(raptor_world* world, raptor_uri *uri, size_t *len_p) unsigned char* raptor_uri_to_counted_string(raptor_uri *uri, size_t *len_p)  
unsigned char* raptor_uri_to_relative_counted_uri_string_v2(raptor_world* world, raptor_uri *base_uri, raptor_uri *reference_uri, size_t *length_p) unsigned char* raptor_uri_to_relative_counted_uri_string(raptor_uri *base_uri, raptor_uri *reference_uri, size_t *length_p)  
unsigned char* raptor_uri_to_relative_uri_string_v2(raptor_world* world, raptor_uri *base_uri, raptor_uri *reference_uri) unsigned char* raptor_uri_to_relative_uri_string(raptor_uri *base_uri, raptor_uri *reference_uri)  
unsigned char* raptor_uri_to_string_v2(raptor_world* world, raptor_uri *uri) unsigned char* raptor_uri_to_string(raptor_uri *uri)  
int raptor_utf8_to_unicode_char(raptor_unichar* output, const unsigned char* input, int length) int raptor_unicode_utf8_string_get_char(const unsigned char* input, size_t length, raptor_unichar* output)  
void raptor_world_set_libxml_flags(raptor_world *world, int flags) int raptor_world_set_flag(raptor_world *world, raptor_world_flag flag, int value)  
void raptor_world_set_libxslt_security_preferences(raptor_world *world, void *security_preferences) int raptor_world_set_libxslt_security_preferences(raptor_world *world, void *security_preferences)  
int raptor_www_fetch_to_string(raptor_www *www, raptor_uri *uri, void **string_p, size_t *length_p, void *(*malloc_handler)(size_t size)) int raptor_www_fetch_to_string(raptor_www *www, raptor_uri *uri, void **string_p, size_t *length_p, raptor_data_malloc_handler const malloc_handler)  
raptor_www* raptor_www_new(void) raptor_www* raptor_new_www(raptor_world* world)  
raptor_www* raptor_www_new_with_connection(void* connection) raptor_www* raptor_new_www_with_connection(raptor_world* world, void* connection)  
int raptor_xml_any_escape_string(const unsigned char* string, size_t len, unsigned char* buffer, size_t length, char quote, int xml_version, raptor_simple_message_handler error_handler, void *error_data) int raptor_xml_escape_string_any(raptor_world* world, const unsigned char* string, size_t len, unsigned char* buffer, size_t length, char quote, int xml_version)  
int raptor_xml_escape_string(const unsigned char* string, size_t len, unsigned char* buffer, size_t length, char quote, raptor_simple_message_handler error_handler, void *error_data) int raptor_xml_escape_string(raptor_world *world, const unsigned char* string, size_t len, unsigned char* buffer, size_t length, char quote)  
int raptor_xml_writer_features_enumerate(const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label) raptor_option_description* raptor_world_get_option_description(raptor_world* world, const raptor_domain domain, const raptor_option option) Call with domain = RAPTOR_DOMAIN_XML_WRITER
int raptor_xml_writer_features_enumerate_v2(raptor_world* world, const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label) raptor_option_description* raptor_world_get_option_description(raptor_world* world, const raptor_domain domain, const raptor_option option) Call with domain = RAPTOR_DOMAIN_XML_WRITER
int raptor_xml_writer_get_feature(raptor_xml_writer *xml_writer, raptor_feature feature) int raptor_xml_writer_get_option(raptor_xml_writer *xml_writer, raptor_option option, char** string_p, int* integer_p)  
const unsigned char* raptor_xml_writer_get_feature_string(raptor_xml_writer *xml_writer, raptor_feature feature) const unsigned char* raptor_xml_writer_get_option(raptor_xml_writer *xml_writer, raptor_option option, char** string_p, int* integer_p)  
int raptor_xml_writer_set_feature(raptor_xml_writer *xml_writer, raptor_feature feature, int value) int raptor_xml_writer_set_option(raptor_xml_writer *xml_writer, raptor_option option, char* string, int integer)  
int raptor_xml_writer_set_feature_string(raptor_xml_writer *xml_writer, raptor_feature feature, const unsigned char* value) int raptor_xml_writer_set_option(raptor_xml_writer *xml_writer, raptor_option option, char* string, int integer)  
1.4.21 type 2.0.0 type Notes
raptor_feature raptor_option And new option RAPTOR_OPTION_STRICT added.
raptor_graph_handler raptor_graph_mark_handler  
raptor_identifier raptor_term Fields changed to be simpler raptor_term_type and raptor_term_value
raptor_identifier_type raptor_term_type Removed several enum values to leave just URI, blank and literal types.
raptor_iostream_handler2 raptor_iostream_handler  
raptor_iostream_write_end_func raptor_iostream_write_end_func handler returns an int
raptor_log_level raptor_log_level Added RAPTOR_LOG_LEVEL_TRACE, RAPTOR_LOG_LEVEL_DEBUG, RAPTOR_LOG_LEVEL_INFO. RAPTOR_LOG_LEVEL_WARNING renamed RAPTOR_LOG_LEVEL_WARN
raptor_sequence_free_function raptor_data_free_handler  
raptor_sequence_free_handler_v2 raptor_data_context_free_handler  
raptor_sequence_print_handler raptor_data_print_handler  
raptor_sequence_print_handler_v2 raptor_data_context_print_handler  
raptor_simple_message_handler raptor_log_handler Replaced by generic raptor log mechanism. See raptor_world_set_log_handler()
raptor_statement raptor_statement fields changed to use raptor_term
raptor_statement_handler raptor_statement_handler added const
raptor_statement_v2 raptor_statement Fields changed to be a 3 or 4 tuple of raptor_term


Navigation: Redland Home Page

Copyright 2000-2023 Dave Beckett