From a7cb332c30b51b4e27f6e57c6b58dc2d1f73f89c Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Thu, 19 Apr 2007 17:24:08 +0100 Subject: Relaxed XML parsing (ABI addition). Copes with missing close tags. Copes with extra close tags iff they don't match so-far-unclosed elements. Doesn't cope with missing "/>" - that needs more info from the caller. --- src/xine-utils/xmlparser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xine-utils/xmlparser.h') diff --git a/src/xine-utils/xmlparser.h b/src/xine-utils/xmlparser.h index f202ca28d..8d4915abf 100644 --- a/src/xine-utils/xmlparser.h +++ b/src/xine-utils/xmlparser.h @@ -57,6 +57,7 @@ typedef struct xml_node_s { void xml_parser_init(const char * buf, int size, int mode) XINE_PROTECTED; int xml_parser_build_tree(xml_node_t **root_node) XINE_PROTECTED; +int xml_parser_build_tree_relaxed(xml_node_t **root_node, int relaxed) XINE_PROTECTED; void xml_parser_free_tree(xml_node_t *root_node) XINE_PROTECTED; -- cgit v1.2.3