diff options
Diffstat (limited to 'doc/libxml2-api.xml')
-rw-r--r-- | doc/libxml2-api.xml | 210 |
1 files changed, 172 insertions, 38 deletions
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 3bca246..f14ed01 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -372,10 +372,12 @@ <author>Daniel Veillard </author> <exports symbol='xmlDict' type='typedef'/> <exports symbol='xmlDictPtr' type='typedef'/> + <exports symbol='xmlDictGetUsage' type='function'/> <exports symbol='xmlDictReference' type='function'/> <exports symbol='xmlDictCleanup' type='function'/> <exports symbol='xmlDictSize' type='function'/> <exports symbol='xmlDictExists' type='function'/> + <exports symbol='xmlDictSetLimit' type='function'/> <exports symbol='xmlDictOwns' type='function'/> <exports symbol='xmlDictQLookup' type='function'/> <exports symbol='xmlInitializeDict' type='function'/> @@ -715,10 +717,11 @@ <exports symbol='XML_PARSER_EOF' type='enum'/> <exports symbol='XML_PARSER_CDATA_SECTION' type='enum'/> <exports symbol='XML_WITH_LEGACY' type='enum'/> + <exports symbol='XML_WITH_OUTPUT' type='enum'/> <exports symbol='XML_PARSE_XINCLUDE' type='enum'/> <exports symbol='XML_PARSE_NOCDATA' type='enum'/> <exports symbol='XML_PARSE_NOBASEFIX' type='enum'/> - <exports symbol='XML_WITH_OUTPUT' type='enum'/> + <exports symbol='XML_PARSE_BIG_LINES' type='enum'/> <exports symbol='XML_WITH_XINCLUDE' type='enum'/> <exports symbol='XML_WITH_PUSH' type='enum'/> <exports symbol='XML_PARSE_READER' type='enum'/> @@ -880,7 +883,7 @@ <exports symbol='xmlSetExternalEntityLoader' type='function'/> </file> <file name='parserInternals'> - <summary>internals routines exported by the parser.</summary> + <summary>internals routines and limits exported by the parser.</summary> <description>this module exports a number of internal parsing routines they are not really all intended for applications but can prove useful doing low level processing. </description> <author>Daniel Veillard </author> <exports symbol='XML_SUBSTITUTE_REF' type='macro'/> @@ -895,14 +898,17 @@ <exports symbol='IS_LETTER' type='macro'/> <exports symbol='IS_IDEOGRAPHIC' type='macro'/> <exports symbol='MOVETO_STARTTAG' type='macro'/> + <exports symbol='XML_MAX_NAME_LENGTH' type='macro'/> <exports symbol='IS_ASCII_LETTER' type='macro'/> <exports symbol='IS_DIGIT' type='macro'/> + <exports symbol='XML_MAX_DICTIONARY_LIMIT' type='macro'/> <exports symbol='XML_SUBSTITUTE_PEREF' type='macro'/> <exports symbol='MOVETO_ENDTAG' type='macro'/> <exports symbol='SKIP_EOL' type='macro'/> <exports symbol='IS_EXTENDER_CH' type='macro'/> <exports symbol='IS_BLANK_CH' type='macro'/> <exports symbol='IS_LETTER_CH' type='macro'/> + <exports symbol='XML_MAX_LOOKUP_LIMIT' type='macro'/> <exports symbol='XML_MAX_TEXT_LENGTH' type='macro'/> <exports symbol='XML_SUBSTITUTE_NONE' type='macro'/> <exports symbol='IS_COMBINING' type='macro'/> @@ -1406,13 +1412,14 @@ <description>this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree </description> <author>Daniel Veillard </author> <exports symbol='XML_LOCAL_NAMESPACE' type='macro'/> - <exports symbol='XML_XML_NAMESPACE' type='macro'/> + <exports symbol='BASE_BUFFER_SIZE' type='macro'/> <exports symbol='XML_XML_ID' type='macro'/> <exports symbol='xmlRootNode' type='macro'/> <exports symbol='XML_GET_LINE' type='macro'/> <exports symbol='XML_GET_CONTENT' type='macro'/> <exports symbol='xmlChildrenNode' type='macro'/> - <exports symbol='BASE_BUFFER_SIZE' type='macro'/> + <exports symbol='XML_XML_NAMESPACE' type='macro'/> + <exports symbol='LIBXML2_NEW_BUFFER' type='macro'/> <exports symbol='XML_ATTRIBUTE_IMPLIED' type='enum'/> <exports symbol='XML_ELEMENT_CONTENT_ELEMENT' type='enum'/> <exports symbol='XML_ENTITY_REF_NODE' type='enum'/> @@ -1475,7 +1482,7 @@ <exports symbol='XML_ELEMENT_CONTENT_MULT' type='enum'/> <exports symbol='XML_ELEMENT_CONTENT_PLUS' type='enum'/> <exports symbol='xmlNs' type='typedef'/> - <exports symbol='xmlBufferPtr' type='typedef'/> + <exports symbol='xmlElementContent' type='typedef'/> <exports symbol='xmlEnumerationPtr' type='typedef'/> <exports symbol='xmlBuffer' type='typedef'/> <exports symbol='xmlParserInputPtr' type='typedef'/> @@ -1486,7 +1493,7 @@ <exports symbol='xmlBufferAllocationScheme' type='typedef'/> <exports symbol='xmlNode' type='typedef'/> <exports symbol='xmlDocPtr' type='typedef'/> - <exports symbol='xmlElementContent' type='typedef'/> + <exports symbol='xmlBufferPtr' type='typedef'/> <exports symbol='xmlDOMWrapCtxtPtr' type='typedef'/> <exports symbol='xmlRefPtr' type='typedef'/> <exports symbol='xmlParserInputBuffer' type='typedef'/> @@ -1496,6 +1503,7 @@ <exports symbol='xmlParserCtxt' type='typedef'/> <exports symbol='xmlDtdPtr' type='typedef'/> <exports symbol='xmlAttributeDefault' type='typedef'/> + <exports symbol='xmlBuf' type='typedef'/> <exports symbol='xmlNotation' type='typedef'/> <exports symbol='xmlElementType' type='typedef'/> <exports symbol='xmlEntity' type='typedef'/> @@ -1504,6 +1512,7 @@ <exports symbol='xmlElementTypeVal' type='typedef'/> <exports symbol='xmlNotationPtr' type='typedef'/> <exports symbol='xmlElementPtr' type='typedef'/> + <exports symbol='xmlBufPtr' type='typedef'/> <exports symbol='xmlElementContentOccur' type='typedef'/> <exports symbol='xmlAttrPtr' type='typedef'/> <exports symbol='xmlDoc' type='typedef'/> @@ -1541,8 +1550,9 @@ <exports symbol='_xmlElementContent' type='struct'/> <exports symbol='xmlDocCopyNode' type='function'/> <exports symbol='xmlNewDocRawNode' type='function'/> - <exports symbol='xmlGetProp' type='function'/> + <exports symbol='xmlBufContent' type='function'/> <exports symbol='xmlNewNsPropEatName' type='function'/> + <exports symbol='xmlStringGetNodeList' type='function'/> <exports symbol='xmlNewCDataBlock' type='function'/> <exports symbol='xmlBufferWriteCHAR' type='function'/> <exports symbol='xmlNodeGetBase' type='function'/> @@ -1554,15 +1564,16 @@ <exports symbol='xmlBufferCreate' type='function'/> <exports symbol='xmlNewDocFragment' type='function'/> <exports symbol='xmlDocGetRootElement' type='function'/> - <exports symbol='xmlStringGetNodeList' type='function'/> + <exports symbol='xmlGetProp' type='function'/> <exports symbol='xmlValidateName' type='function'/> - <exports symbol='xmlSetBufferAllocationScheme' type='function'/> + <exports symbol='xmlBufEnd' type='function'/> <exports symbol='xmlValidateQName' type='function'/> <exports symbol='xmlHasNsProp' type='function'/> <exports symbol='xmlAddPrevSibling' type='function'/> <exports symbol='xmlBufferAddHead' type='function'/> <exports symbol='xmlNewPI' type='function'/> <exports symbol='xmlDocDumpFormatMemoryEnc' type='function'/> + <exports symbol='xmlSetProp' type='function'/> <exports symbol='xmlChildElementCount' type='function'/> <exports symbol='xmlElemDump' type='function'/> <exports symbol='xmlSaveFormatFileTo' type='function'/> @@ -1608,6 +1619,7 @@ <exports symbol='xmlCopyDoc' type='function'/> <exports symbol='xmlDOMWrapNewCtxt' type='function'/> <exports symbol='xmlDocDumpMemoryEnc' type='function'/> + <exports symbol='xmlBufGetNodeContent' type='function'/> <exports symbol='xmlTextMerge' type='function'/> <exports symbol='xmlDocDumpMemory' type='function'/> <exports symbol='xmlNewDocPI' type='function'/> @@ -1631,6 +1643,7 @@ <exports symbol='xmlUnlinkNode' type='function'/> <exports symbol='xmlSplitQName3' type='function'/> <exports symbol='xmlDOMWrapAcquireNsFunction' type='function'/> + <exports symbol='xmlBufUse' type='function'/> <exports symbol='xmlDocSetRootElement' type='function'/> <exports symbol='xmlGetLineNo' type='function'/> <exports symbol='xmlBufferContent' type='function'/> @@ -1638,6 +1651,7 @@ <exports symbol='xmlLastElementChild' type='function'/> <exports symbol='xmlNodeGetLang' type='function'/> <exports symbol='xmlGetDocCompressMode' type='function'/> + <exports symbol='xmlBufNodeDump' type='function'/> <exports symbol='xmlGetNsProp' type='function'/> <exports symbol='xmlNewDocProp' type='function'/> <exports symbol='xmlFreeNode' type='function'/> @@ -1682,12 +1696,13 @@ <exports symbol='xmlGetNsList' type='function'/> <exports symbol='xmlBufferGrow' type='function'/> <exports symbol='xmlNodeIsText' type='function'/> - <exports symbol='xmlSetProp' type='function'/> + <exports symbol='xmlSetBufferAllocationScheme' type='function'/> <exports symbol='xmlIsXHTML' type='function'/> <exports symbol='xmlNodeSetLang' type='function'/> <exports symbol='xmlFreeDtd' type='function'/> <exports symbol='xmlFreeNodeList' type='function'/> <exports symbol='xmlFreeDoc' type='function'/> + <exports symbol='xmlBufShrink' type='function'/> <exports symbol='xmlNewDocNode' type='function'/> <exports symbol='xmlSaveFileEnc' type='function'/> <exports symbol='xmlSetNsProp' type='function'/> @@ -1922,9 +1937,11 @@ <exports symbol='xmlNormalizeWindowsPath' type='function'/> <exports symbol='xmlInputReadCallback' type='function'/> <exports symbol='xmlParserInputBufferCreateStatic' type='function'/> + <exports symbol='xmlOutputBufferGetContent' type='function'/> <exports symbol='xmlIOHTTPClose' type='function'/> <exports symbol='xmlOutputBufferWriteEscape' type='function'/> <exports symbol='xmlOutputBufferCreateFilename' type='function'/> + <exports symbol='xmlOutputBufferGetSize' type='function'/> <exports symbol='xmlCleanupOutputCallbacks' type='function'/> <exports symbol='xmlInputOpenCallback' type='function'/> <exports symbol='xmlParserInputBufferRead' type='function'/> @@ -2030,7 +2047,7 @@ <exports symbol='XML_RNGP_ELEM_CONTENT_EMPTY' type='enum'/> <exports symbol='XML_SCHEMAP_WARN_UNLOCATED_SCHEMA' type='enum'/> <exports symbol='XML_IO_EMLINK' type='enum'/> - <exports symbol='XML_CHECK_X' type='enum'/> + <exports symbol='XML_ERR_NMTOKEN_REQUIRED' type='enum'/> <exports symbol='XML_RNGP_ANYNAME_ATTR_ANCESTOR' type='enum'/> <exports symbol='XML_SCHEMAP_SRC_ATTRIBUTE_3_1' type='enum'/> <exports symbol='XML_ERR_PI_NOT_STARTED' type='enum'/> @@ -2274,6 +2291,7 @@ <exports symbol='XML_C14N_RELATIVE_NAMESPACE' type='enum'/> <exports symbol='XML_SCHEMAP_FAILED_LOAD' type='enum'/> <exports symbol='XML_ERR_ATTRIBUTE_WITHOUT_VALUE' type='enum'/> + <exports symbol='XML_ERR_NAME_TOO_LONG' type='enum'/> <exports symbol='XML_XPTR_SYNTAX_ERROR' type='enum'/> <exports symbol='XML_SCHEMAP_UNKNOWN_TYPE' type='enum'/> <exports symbol='XML_CHECK_WRONG_DOC' type='enum'/> @@ -2379,7 +2397,6 @@ <exports symbol='XML_RNGP_PAT_START_ATTR' type='enum'/> <exports symbol='XML_CHECK_WRONG_NAME' type='enum'/> <exports symbol='XML_SCHEMAV_NOTEMPTY' type='enum'/> - <exports symbol='XML_ERR_NMTOKEN_REQUIRED' type='enum'/> <exports symbol='XML_IO_EROFS' type='enum'/> <exports symbol='XML_IO_EXDEV' type='enum'/> <exports symbol='XML_XINCLUDE_NO_FALLBACK' type='enum'/> @@ -2449,7 +2466,7 @@ <exports symbol='XML_RNGP_INCLUDE_FAILURE' type='enum'/> <exports symbol='XML_ERR_COMMENT_NOT_FINISHED' type='enum'/> <exports symbol='XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2' type='enum'/> - <exports symbol='XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1' type='enum'/> + <exports symbol='XML_BUF_OVERFLOW' type='enum'/> <exports symbol='XML_IO_EMSGSIZE' type='enum'/> <exports symbol='XML_FROM_CATALOG' type='enum'/> <exports symbol='XML_SCHEMAV_ATTRINVALID' type='enum'/> @@ -2576,6 +2593,7 @@ <exports symbol='XML_RNGP_EMPTY_CONTENT' type='enum'/> <exports symbol='XML_IO_EALREADY' type='enum'/> <exports symbol='XML_IO_ERANGE' type='enum'/> + <exports symbol='XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1' type='enum'/> <exports symbol='XML_IO_ENOSYS' type='enum'/> <exports symbol='XML_SCHEMAP_NOTHING_TO_PARSE' type='enum'/> <exports symbol='XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE' type='enum'/> @@ -2591,7 +2609,7 @@ <exports symbol='XML_SCHEMAP_INVALID_MINOCCURS' type='enum'/> <exports symbol='XML_SCHEMAV_CVC_ELT_1' type='enum'/> <exports symbol='XML_SCHEMAP_COS_ALL_LIMITED' type='enum'/> - <exports symbol='XML_CHECK_' type='enum'/> + <exports symbol='XML_SCHEMATRONV_REPORT' type='enum'/> <exports symbol='XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID' type='enum'/> <exports symbol='XML_IO_EPIPE' type='enum'/> <exports symbol='XML_SCHEMAP_NOTYPE_NOREF' type='enum'/> @@ -2666,7 +2684,6 @@ <exports symbol='XML_ERR_NS_DECL_ERROR' type='enum'/> <exports symbol='XML_ERR_INTERNAL_ERROR' type='enum'/> <exports symbol='XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1' type='enum'/> - <exports symbol='XML_SCHEMATRONV_REPORT' type='enum'/> <exports symbol='XML_ERR_ELEMCONTENT_NOT_FINISHED' type='enum'/> <exports symbol='XML_FROM_NAMESPACE' type='enum'/> <exports symbol='XML_IO_EBUSY' type='enum'/> @@ -2674,6 +2691,7 @@ <exports symbol='XML_ERR_INVALID_URI' type='enum'/> <exports symbol='XML_IO_ESRCH' type='enum'/> <exports symbol='XML_FROM_XPOINTER' type='enum'/> + <exports symbol='XML_FROM_BUFFER' type='enum'/> <exports symbol='XML_ERR_PEREF_IN_PROLOG' type='enum'/> <exports symbol='XML_RNGP_TEXT_HAS_CHILD' type='enum'/> <exports symbol='XML_SCHEMAV_NOTNILLABLE' type='enum'/> @@ -2730,6 +2748,7 @@ <exports symbol='XML_IO_EEXIST' type='enum'/> <exports symbol='XML_SCHEMAP_MG_PROPS_CORRECT_2' type='enum'/> <exports symbol='XML_SCHEMAP_MG_PROPS_CORRECT_1' type='enum'/> + <exports symbol='XML_FROM_URI' type='enum'/> <exports symbol='XML_RNGP_PAT_LIST_ELEM' type='enum'/> <exports symbol='XML_SCHEMAV_UNDECLAREDELEM' type='enum'/> <exports symbol='XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2' type='enum'/> @@ -3076,12 +3095,14 @@ <exports symbol='xmlSchemaSAXUnplug' type='function'/> <exports symbol='xmlSchemaParse' type='function'/> <exports symbol='xmlSchemaFreeParserCtxt' type='function'/> + <exports symbol='xmlSchemaValidateSetFilename' type='function'/> <exports symbol='xmlSchemaNewParserCtxt' type='function'/> <exports symbol='xmlSchemaIsValid' type='function'/> <exports symbol='xmlSchemaValidityErrorFunc' type='function'/> <exports symbol='xmlSchemaSAXPlug' type='function'/> <exports symbol='xmlSchemaValidateStream' type='function'/> <exports symbol='xmlSchemaGetParserErrors' type='function'/> + <exports symbol='xmlSchemaValidateSetLocator' type='function'/> <exports symbol='xmlSchemaValidateOneElement' type='function'/> <exports symbol='xmlSchemaSetValidStructuredErrors' type='function'/> <exports symbol='xmlSchemaSetValidErrors' type='function'/> @@ -3090,6 +3111,7 @@ <exports symbol='xmlSchemaValidateDoc' type='function'/> <exports symbol='xmlSchemaFree' type='function'/> <exports symbol='xmlSchemaNewMemParserCtxt' type='function'/> + <exports symbol='xmlSchemaValidityLocatorFunc' type='function'/> <exports symbol='xmlSchemaGetValidErrors' type='function'/> <exports symbol='xmlSchemaSetValidOptions' type='function'/> <exports symbol='xmlSchemaSetParserErrors' type='function'/> @@ -3415,7 +3437,7 @@ <exports symbol='xmlTextWriterEndPI' type='function'/> <exports symbol='xmlTextWriterWriteBase64' type='function'/> <exports symbol='xmlTextWriterSetIndentString' type='function'/> - <exports symbol='xmlFreeTextWriter' type='function'/> + <exports symbol='xmlTextWriterStartAttribute' type='function'/> <exports symbol='xmlTextWriterEndComment' type='function'/> <exports symbol='xmlTextWriterWriteRawLen' type='function'/> <exports symbol='xmlTextWriterWriteDTDExternalEntityContents' type='function'/> @@ -3437,7 +3459,7 @@ <exports symbol='xmlTextWriterStartElementNS' type='function'/> <exports symbol='xmlTextWriterEndDTDEntity' type='function'/> <exports symbol='xmlNewTextWriter' type='function'/> - <exports symbol='xmlTextWriterStartAttribute' type='function'/> + <exports symbol='xmlFreeTextWriter' type='function'/> <exports symbol='xmlTextWriterWriteVFormatDTDAttlist' type='function'/> <exports symbol='xmlTextWriterStartPI' type='function'/> <exports symbol='xmlTextWriterStartElement' type='function'/> @@ -3463,8 +3485,9 @@ <exports symbol='xmlTextWriterWriteVFormatElementNS' type='function'/> <exports symbol='xmlTextWriterWriteDTDNotation' type='function'/> <exports symbol='xmlTextWriterWriteFormatElement' type='function'/> - <exports symbol='xmlTextWriterWriteElementNS' type='function'/> + <exports symbol='xmlTextWriterSetQuoteChar' type='function'/> <exports symbol='xmlTextWriterWriteString' type='function'/> + <exports symbol='xmlTextWriterWriteElementNS' type='function'/> <exports symbol='xmlTextWriterFullEndElement' type='function'/> <exports symbol='xmlTextWriterWriteVFormatAttributeNS' type='function'/> <exports symbol='xmlTextWriterFlush' type='function'/> @@ -3527,6 +3550,7 @@ <exports symbol='XPATH_INVALID_PREDICATE_ERROR' type='enum'/> <exports symbol='XPATH_XSLT_TREE' type='enum'/> <exports symbol='XPATH_EXPR_ERROR' type='enum'/> + <exports symbol='XPATH_FORBID_VARIABLE_ERROR' type='enum'/> <exports symbol='XPATH_INVALID_TYPE' type='enum'/> <exports symbol='XPATH_INVALID_CTXT_POSITION' type='enum'/> <exports symbol='XPATH_UNDEFINED' type='enum'/> @@ -3931,6 +3955,9 @@ <info>Same as IS_PUBIDCHAR but for single-byte value</info> <arg name='c' info='an xmlChar value (normally unsigned char)'/> </macro> + <macro name='LIBXML2_NEW_BUFFER' file='tree'> + <info>Macro used to express that the API use the new buffers for xmlParserInputBuffer and xmlOutputBuffer. The change was introduced in 2.9.0.</info> + </macro> <macro name='LIBXML_ATTR_ALLOC_SIZE' file='xmlversion'> <info>Macro used to indicate to GCC this is an allocator function</info> </macro> @@ -4149,11 +4176,20 @@ <macro name='XML_LOCAL_NAMESPACE' file='tree'> <info>A namespace declaration node.</info> </macro> + <macro name='XML_MAX_DICTIONARY_LIMIT' file='parserInternals'> + <info>Maximum size allowed by the parser for a dictionary by default This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it. Introduced in 2.9.0</info> + </macro> + <macro name='XML_MAX_LOOKUP_LIMIT' file='parserInternals'> + <info>Maximum size allowed by the parser for ahead lookup This is an upper boundary enforced by the parser to avoid bad behaviour on "unfriendly' content Introduced in 2.9.0</info> + </macro> <macro name='XML_MAX_NAMELEN' file='parserInternals'> <info>Identifiers can be longer, but this will be more costly at runtime.</info> </macro> + <macro name='XML_MAX_NAME_LENGTH' file='parserInternals'> + <info>Maximum size allowed for a markup identitier This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it. Note that with the use of parsing dictionaries overriding the limit may result in more runtime memory usage in face of "unfriendly' content Introduced in 2.9.0</info> + </macro> <macro name='XML_MAX_TEXT_LENGTH' file='parserInternals'> - <info>Maximum size allowed for a single text node when building a tree. This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it.</info> + <info>Maximum size allowed for a single text node when building a tree. This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it. Introduced in 2.9.0</info> </macro> <macro name='XML_SAX2_MAGIC' file='parser'> <info>Special constant found in SAX2 blocks initialized fields</info> @@ -4664,6 +4700,7 @@ <enum name='XML_BUFFER_ALLOC_HYBRID' file='tree' value='5' type='xmlBufferAllocationScheme' info=' exact up to a threshold, and doubleit thereafter'/> <enum name='XML_BUFFER_ALLOC_IMMUTABLE' file='tree' value='3' type='xmlBufferAllocationScheme' info='immutable buffer'/> <enum name='XML_BUFFER_ALLOC_IO' file='tree' value='4' type='xmlBufferAllocationScheme' info='special allocation scheme used for I/O'/> + <enum name='XML_BUF_OVERFLOW' file='xmlerror' value='7000' type='xmlParserErrors'/> <enum name='XML_C14N_1_0' file='c14n' value='0' type='xmlC14NMode' info='Origianal C14N 1.0 spec'/> <enum name='XML_C14N_1_1' file='c14n' value='2' type='xmlC14NMode' info=' C14N 1.1 spec'/> <enum name='XML_C14N_CREATE_CTXT' file='xmlerror' value='1950' type='xmlParserErrors'/> @@ -4710,7 +4747,6 @@ <enum name='XML_CHAR_ENCODING_UTF16BE' file='encoding' value='3' type='xmlCharEncoding' info='UTF-16 big endian'/> <enum name='XML_CHAR_ENCODING_UTF16LE' file='encoding' value='2' type='xmlCharEncoding' info='UTF-16 little endian'/> <enum name='XML_CHAR_ENCODING_UTF8' file='encoding' value='1' type='xmlCharEncoding' info='UTF-8'/> - <enum name='XML_CHECK_' file='xmlerror' value='6005' type='xmlParserErrors' info='5033'/> <enum name='XML_CHECK_ENTITY_TYPE' file='xmlerror' value='5012' type='xmlParserErrors' info='5012'/> <enum name='XML_CHECK_FOUND_ATTRIBUTE' file='xmlerror' value='5001' type='xmlParserErrors' info='5001'/> <enum name='XML_CHECK_FOUND_CDATA' file='xmlerror' value='5003' type='xmlParserErrors' info='5003'/> @@ -4749,7 +4785,6 @@ <enum name='XML_CHECK_WRONG_NEXT' file='xmlerror' value='5021' type='xmlParserErrors' info='5021'/> <enum name='XML_CHECK_WRONG_PARENT' file='xmlerror' value='5029' type='xmlParserErrors' info='5029'/> <enum name='XML_CHECK_WRONG_PREV' file='xmlerror' value='5019' type='xmlParserErrors' info='5019'/> - <enum name='XML_CHECK_X' file='xmlerror' value='6006' type='xmlParserErrors' info=' 503'/> <enum name='XML_COMMENT_NODE' file='tree' value='8' type='xmlElementType'/> <enum name='XML_DOCB_DOCUMENT_NODE' file='tree' value='21' type='xmlElementType'/> <enum name='XML_DOCUMENT_FRAG_NODE' file='tree' value='11' type='xmlElementType'/> @@ -4888,6 +4923,7 @@ and not by parsing an instance'/> <enum name='XML_ERR_MIXED_NOT_FINISHED' file='xmlerror' value='53' type='xmlParserErrors' info='53'/> <enum name='XML_ERR_MIXED_NOT_STARTED' file='xmlerror' value='52' type='xmlParserErrors' info='52'/> <enum name='XML_ERR_NAME_REQUIRED' file='xmlerror' value='68' type='xmlParserErrors' info='68'/> + <enum name='XML_ERR_NAME_TOO_LONG' file='xmlerror' value='110' type='xmlParserErrors' info='110'/> <enum name='XML_ERR_NMTOKEN_REQUIRED' file='xmlerror' value='67' type='xmlParserErrors' info='67'/> <enum name='XML_ERR_NONE' file='xmlerror' value='0' type='xmlErrorLevel'/> <enum name='XML_ERR_NOTATION_NOT_FINISHED' file='xmlerror' value='49' type='xmlParserErrors' info='49'/> @@ -4939,6 +4975,7 @@ and not by parsing an instance'/> <enum name='XML_EXTERNAL_GENERAL_PARSED_ENTITY' file='entities' value='2' type='xmlEntityType'/> <enum name='XML_EXTERNAL_GENERAL_UNPARSED_ENTITY' file='entities' value='3' type='xmlEntityType'/> <enum name='XML_EXTERNAL_PARAMETER_ENTITY' file='entities' value='5' type='xmlEntityType'/> + <enum name='XML_FROM_BUFFER' file='xmlerror' value='29' type='xmlErrorDomain' info='The buffers module'/> <enum name='XML_FROM_C14N' file='xmlerror' value='21' type='xmlErrorDomain' info='The Canonicalization module'/> <enum name='XML_FROM_CATALOG' file='xmlerror' value='20' type='xmlErrorDomain' info='The Catalog module'/> <enum name='XML_FROM_CHECK' file='xmlerror' value='24' type='xmlErrorDomain' info='The error checking module'/> @@ -4960,8 +4997,9 @@ and not by parsing an instance'/> <enum name='XML_FROM_RELAXNGV' file='xmlerror' value='19' type='xmlErrorDomain' info='The Relax-NG validator module'/> <enum name='XML_FROM_SCHEMASP' file='xmlerror' value='16' type='xmlErrorDomain' info='The W3C XML Schemas parser module'/> <enum name='XML_FROM_SCHEMASV' file='xmlerror' value='17' type='xmlErrorDomain' info='The W3C XML Schemas validation module'/> - <enum name='XML_FROM_SCHEMATRONV' file='xmlerror' value='28' type='xmlErrorDomain' info=' The Schematron validator module'/> + <enum name='XML_FROM_SCHEMATRONV' file='xmlerror' value='28' type='xmlErrorDomain' info='The Schematron validator module'/> <enum name='XML_FROM_TREE' file='xmlerror' value='2' type='xmlErrorDomain' info='The tree module'/> + <enum name='XML_FROM_URI' file='xmlerror' value='30' type='xmlErrorDomain' info=' The URI module'/> <enum name='XML_FROM_VALID' file='xmlerror' value='23' type='xmlErrorDomain' info='The XML DTD validation with valid context'/> <enum name='XML_FROM_WRITER' file='xmlerror' value='25' type='xmlErrorDomain' info='The xmlwriter module'/> <enum name='XML_FROM_XINCLUDE' file='xmlerror' value='11' type='xmlErrorDomain' info='The XInclude processing'/> @@ -5081,6 +5119,7 @@ and not by parsing an instance'/> <enum name='XML_PARSER_SUBST_ENTITIES' file='xmlreader' value='4' type='xmlParserProperties'/> <enum name='XML_PARSER_SYSTEM_LITERAL' file='parser' value='13' type='xmlParserInputState' info='within a SYSTEM value'/> <enum name='XML_PARSER_VALIDATE' file='xmlreader' value='3' type='xmlParserProperties'/> + <enum name='XML_PARSE_BIG_LINES' file='parser' value='4194304' type='xmlParserOption' info=' Store big lines numbers in text PSVI field'/> <enum name='XML_PARSE_COMPACT' file='parser' value='65536' type='xmlParserOption' info='compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree)'/> @@ -5089,7 +5128,7 @@ crash if you try to modify the tree)'/> <enum name='XML_PARSE_DTDLOAD' file='parser' value='4' type='xmlParserOption' info='load the external subset'/> <enum name='XML_PARSE_DTDVALID' file='parser' value='16' type='xmlParserOption' info='validate with the DTD'/> <enum name='XML_PARSE_HUGE' file='parser' value='524288' type='xmlParserOption' info='relax any hardcoded limit from the parser'/> - <enum name='XML_PARSE_IGNORE_ENC' file='parser' value='2097152' type='xmlParserOption' info=' ignore internal document encoding hint'/> + <enum name='XML_PARSE_IGNORE_ENC' file='parser' value='2097152' type='xmlParserOption' info='ignore internal document encoding hint'/> <enum name='XML_PARSE_NOBASEFIX' file='parser' value='262144' type='xmlParserOption' info='do not fixup XINCLUDE xml:base uris'/> <enum name='XML_PARSE_NOBLANKS' file='parser' value='256' type='xmlParserOption' info='remove blank nodes'/> <enum name='XML_PARSE_NOCDATA' file='parser' value='16384' type='xmlParserOption' info='merge CDATA as text nodes'/> @@ -5827,6 +5866,7 @@ crash if you try to modify the tree)'/> <enum name='XPATH_ENCODING_ERROR' file='xpath' value='20' type='xmlXPathError'/> <enum name='XPATH_EXPRESSION_OK' file='xpath' value='0' type='xmlXPathError'/> <enum name='XPATH_EXPR_ERROR' file='xpath' value='7' type='xmlXPathError'/> + <enum name='XPATH_FORBID_VARIABLE_ERROR' file='xpath' value='24' type='xmlXPathError'/> <enum name='XPATH_INVALID_ARITY' file='xpath' value='12' type='xmlXPathError'/> <enum name='XPATH_INVALID_CHAR_ERROR' file='xpath' value='21' type='xmlXPathError'/> <enum name='XPATH_INVALID_CTXT' file='xpath' value='22' type='xmlXPathError'/> @@ -5970,6 +6010,10 @@ if necessary or NULL'/> <typedef name='xmlAutomataStatePtr' file='xmlautomata' type='xmlAutomataState *'> <info>A state int the automata description,</info> </typedef> + <struct name='xmlBuf' file='tree' type='struct _xmlBuf'/> + <typedef name='xmlBufPtr' file='tree' type='xmlBuf *'> + <info>A pointer to a buffer structure, the actual structure internals are not public</info> + </typedef> <struct name='xmlBuffer' file='tree' type='struct _xmlBuffer'> <field name='content' type='xmlChar *' info=' The buffer content UTF8'/> <field name='use' type='unsigned int' info=' The buffer size used'/> @@ -6287,8 +6331,8 @@ set at the end of parsing'/> <field name='writecallback' type='xmlOutputWriteCallback' info=''/> <field name='closecallback' type='xmlOutputCloseCallback' info=''/> <field name='encoder' type='xmlCharEncodingHandlerPtr' info=' I18N conversions to UTF-8'/> - <field name='buffer' type='xmlBufferPtr' info=' Local buffer encoded in UTF-8 or ISOLatin'/> - <field name='conv' type='xmlBufferPtr' info=' if encoder != NULL buffer for output'/> + <field name='buffer' type='xmlBufPtr' info=' Local buffer encoded in UTF-8 or ISOLatin'/> + <field name='conv' type='xmlBufPtr' info=' if encoder != NULL buffer for output'/> <field name='written' type='int' info=' total number of byte written'/> <field name='error' type='int' info=''/> </struct> @@ -6418,8 +6462,8 @@ actually an xmlCharEncoding'/> <field name='readcallback' type='xmlInputReadCallback' info=''/> <field name='closecallback' type='xmlInputCloseCallback' info=''/> <field name='encoder' type='xmlCharEncodingHandlerPtr' info=' I18N conversions to UTF-8'/> - <field name='buffer' type='xmlBufferPtr' info=' Local buffer encoded in UTF-8'/> - <field name='raw' type='xmlBufferPtr' info=' if encoder != NULL buffer for raw input'/> + <field name='buffer' type='xmlBufPtr' info=' Local buffer encoded in UTF-8'/> + <field name='raw' type='xmlBufPtr' info=' if encoder != NULL buffer for raw input'/> <field name='compressed' type='int' info=' -1=unknown, 0=not compressed, 1=compressed'/> <field name='error' type='int' info=''/> <field name='rawconsumed' type='unsigned long' info=' amount consumed from raw'/> @@ -8507,6 +8551,43 @@ Could we use @subtypes for this?'/> <return type='const char *' info='a pointer to either "True" or "False"'/> <arg name='boolval' type='int' info='a bool to turn into text'/> </function> + <function name='xmlBufContent' file='tree' module='buf'> + <info>Function to extract the content of a buffer</info> + <return type='xmlChar *' info='the internal content'/> + <arg name='buf' type='const xmlBufPtr' info='the buffer'/> + </function> + <function name='xmlBufEnd' file='tree' module='buf'> + <info>Function to extract the end of the content of a buffer</info> + <return type='xmlChar *' info='the end of the internal content or NULL in case of error'/> + <arg name='buf' type='const xmlBufPtr' info='the buffer'/> + </function> + <function name='xmlBufGetNodeContent' file='tree' module='tree'> + <info>Read the value of a node @cur, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted. Fills up the buffer @buffer with this value</info> + <return type='int' info='0 in case of success and -1 in case of error.'/> + <arg name='buf' type='xmlBufPtr' info='a buffer xmlBufPtr'/> + <arg name='cur' type='xmlNodePtr' info='the node being read'/> + </function> + <function name='xmlBufNodeDump' file='tree' module='xmlsave'> + <cond>defined(LIBXML_OUTPUT_ENABLED)</cond> + <info>Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</info> + <return type='size_t' info='the number of bytes written to the buffer, in case of error 0 is returned or @buf stores the error'/> + <arg name='buf' type='xmlBufPtr' info='the XML buffer output'/> + <arg name='doc' type='xmlDocPtr' info='the document'/> + <arg name='cur' type='xmlNodePtr' info='the current node'/> + <arg name='level' type='int' info='the imbrication level for indenting'/> + <arg name='format' type='int' info='is formatting allowed'/> + </function> + <function name='xmlBufShrink' file='tree' module='buf'> + <info>Remove the beginning of an XML buffer. NOTE that this routine behaviour differs from xmlBufferShrink() as it will return 0 on error instead of -1 due to size_t being used as the return type.</info> + <return type='size_t' info='the number of byte removed or 0 in case of failure'/> + <arg name='buf' type='xmlBufPtr' info='the buffer to dump'/> + <arg name='len' type='size_t' info='the number of xmlChar to remove'/> + </function> + <function name='xmlBufUse' file='tree' module='buf'> + <info>Function to get the length of a buffer</info> + <return type='size_t' info='the length of data in the internal content'/> + <arg name='buf' type='const xmlBufPtr' info='the buffer'/> + </function> <function name='xmlBufferAdd' file='tree' module='tree'> <info>Add a string range to an XML buffer. if len == -1, the length of str is recomputed.</info> <return type='int' info='0 successful, a positive error code number otherwise and -1 in case of internal or API error.'/> @@ -9430,6 +9511,11 @@ Could we use @subtypes for this?'/> <return type='void'/> <arg name='dict' type='xmlDictPtr' info='the dictionnary'/> </function> + <function name='xmlDictGetUsage' file='dict' module='dict'> + <info>Get how much memory is used by a dictionary for strings Added in 2.9.0</info> + <return type='size_t' info='the amount of strings allocated'/> + <arg name='dict' type='xmlDictPtr' info='the dictionnary'/> + </function> <function name='xmlDictLookup' file='dict' module='dict'> <info>Add the @name to the dictionnary @dict if not present.</info> <return type='const xmlChar *' info='the internal copy of the name or NULL in case of internal error'/> @@ -9455,6 +9541,12 @@ Could we use @subtypes for this?'/> <return type='int' info='0 in case of success and -1 in case of error'/> <arg name='dict' type='xmlDictPtr' info='the dictionnary'/> </function> + <function name='xmlDictSetLimit' file='dict' module='dict'> + <info>Set a size limit for the dictionary Added in 2.9.0</info> + <return type='size_t' info='the previous limit of the dictionary or 0'/> + <arg name='dict' type='xmlDictPtr' info='the dictionnary'/> + <arg name='limit' type='size_t' info='the limit in bytes'/> + </function> <function name='xmlDictSize' file='dict' module='dict'> <info>Query the number of elements installed in the hash @dict.</info> <return type='int' info='the number of elements in the dictionnary or -1 in case of error'/> @@ -10132,7 +10224,7 @@ Could we use @subtypes for this?'/> <return type='xmlErrorPtr' info='NULL if no error occured or a pointer to the error'/> </function> <function name='xmlGetLineNo' file='tree' module='tree'> - <info>Get line number of @node. This requires activation of this option before invoking the parser by calling xmlLineNumbersDefault(1)</info> + <info>Get line number of @node. Try to override the limitation of lines being store in 16 bits ints if XML_PARSE_BIG_LINES parser option was used</info> <return type='long' info='the line number if successful, -1 otherwise'/> <arg name='node' type='xmlNodePtr' info='valid node'/> </function> @@ -10984,14 +11076,14 @@ Could we use @subtypes for this?'/> </function> <function name='xmlModuleOpen' file='xmlmodule' module='xmlmodule'> <cond>defined(LIBXML_MODULES_ENABLED)</cond> - <info>Opens a module/shared library given its name or path TODO: options are not yet implemented.</info> + <info>Opens a module/shared library given its name or path NOTE: that due to portability issues, behaviour can only be guaranteed with @name using ASCII. We canot guarantee that an UTF-8 string would work, which is why name is a const char * and not a const xmlChar * . TODO: options are not yet implemented.</info> <return type='xmlModulePtr' info='a handle for the module or NULL in case of error'/> <arg name='name' type='const char *' info='the module name'/> <arg name='options' type='int' info='a set of xmlModuleOption'/> </function> <function name='xmlModuleSymbol' file='xmlmodule' module='xmlmodule'> <cond>defined(LIBXML_MODULES_ENABLED)</cond> - <info>Lookup for a symbol address in the given module</info> + <info>Lookup for a symbol address in the given module NOTE: that due to portability issues, behaviour can only be guaranteed with @name using ASCII. We canot guarantee that an UTF-8 string would work, which is why name is a const char * and not a const xmlChar * .</info> <return type='int' info='0 if the symbol was found, or -1 in case of error'/> <arg name='module' type='xmlModulePtr' info='the module'/> <arg name='name' type='const char *' info='the name of the symbol'/> @@ -11661,7 +11753,7 @@ Could we use @subtypes for this?'/> </function> <function name='xmlNodeDump' file='tree' module='xmlsave'> <cond>defined(LIBXML_OUTPUT_ENABLED)</cond> - <info>Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</info> + <info>Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called Since this is using xmlBuffer structures it is limited to 2GB and somehow deprecated, use xmlBufNodeDump() instead.</info> <return type='int' info='the number of bytes written to the buffer or -1 in case of error'/> <arg name='buf' type='xmlBufferPtr' info='the XML buffer output'/> <arg name='doc' type='xmlDocPtr' info='the document'/> @@ -11835,6 +11927,18 @@ Could we use @subtypes for this?'/> <return type='int' info='the number of byte written or -1 in case of error.'/> <arg name='out' type='xmlOutputBufferPtr' info='a buffered output'/> </function> + <function name='xmlOutputBufferGetContent' file='xmlIO' module='xmlIO'> + <cond>defined(LIBXML_OUTPUT_ENABLED)</cond> + <info>Gives a pointer to the data currently held in the output buffer</info> + <return type='const xmlChar *' info='a pointer to the data or NULL in case of error'/> + <arg name='out' type='xmlOutputBufferPtr' info='an xmlOutputBufferPtr'/> + </function> + <function name='xmlOutputBufferGetSize' file='xmlIO' module='xmlIO'> + <cond>defined(LIBXML_OUTPUT_ENABLED)</cond> + <info>Gives the length of the data currently held in the output buffer</info> + <return type='size_t' info='0 in case or error or no data is held, the size otherwise'/> + <arg name='out' type='xmlOutputBufferPtr' info='an xmlOutputBufferPtr'/> + </function> <function name='xmlOutputBufferWrite' file='xmlIO' module='xmlIO'> <cond>defined(LIBXML_OUTPUT_ENABLED)</cond> <info>Write the content of the array in the output I/O buffer This routine handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes.</info> @@ -12382,13 +12486,13 @@ Could we use @subtypes for this?'/> </functype> <function name='xmlParserInputGrow' file='parser' module='parserInternals'> <info>This function increase the input for the parser. It tries to preserve pointers to the input buffer, and keep already read data</info> - <return type='int' info='the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity'/> + <return type='int' info='the amount of char read, or -1 in case of error, 0 indicate the end of this entity'/> <arg name='in' type='xmlParserInputPtr' info='an XML parser input'/> <arg name='len' type='int' info='an indicative size for the lookahead'/> </function> <function name='xmlParserInputRead' file='parser' module='parserInternals'> - <info>This function refresh the input for the parser. It doesn't try to preserve pointers to the input buffer, and discard already read data</info> - <return type='int' info='the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity'/> + <info>This function was internal and is deprecated.</info> + <return type='int' info='-1 as this is an error to use it.'/> <arg name='in' type='xmlParserInputPtr' info='an XML parser input'/> <arg name='len' type='int' info='an indicative size for the lookahead'/> </function> @@ -13917,6 +14021,21 @@ Could we use @subtypes for this?'/> <arg name='value' type='const xmlChar *' info='the value to check'/> <arg name='val' type='xmlSchemaValPtr *' info='the return computed value'/> </function> + <function name='xmlSchemaValidateSetFilename' file='xmlschemas' module='xmlschemas'> + <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> + <info>Workaround to provide file error reporting information when this is not provided by current APIs</info> + <return type='void'/> + <arg name='vctxt' type='xmlSchemaValidCtxtPtr' info='the schema validation context'/> + <arg name='filename' type='const char *' info='the file name'/> + </function> + <function name='xmlSchemaValidateSetLocator' file='xmlschemas' module='xmlschemas'> + <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> + <info>Allows to set a locator function to the validation context, which will be used to provide file and line information since those are not provided as part of the SAX validation flow Setting @f to NULL disable the locator.</info> + <return type='void'/> + <arg name='vctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/> + <arg name='f' type='xmlSchemaValidityLocatorFunc' info='the locator function pointer'/> + <arg name='ctxt' type='void *' info='the locator context'/> + </function> <function name='xmlSchemaValidateStream' file='xmlschemas' module='xmlschemas'> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <info>Validate an input based on a flow of SAX event from the parser and forward the events to the @sax handler with the provided @user_data the user provided @sax handler must be a SAX2 one.</info> @@ -13935,6 +14054,14 @@ Could we use @subtypes for this?'/> <arg name='msg' type='const char *' info='the message'/> <arg name='...' type='...' info='extra arguments'/> </functype> + <functype name='xmlSchemaValidityLocatorFunc' file='xmlschemas' module='xmlschemas'> + <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> + <info>A schemas validation locator, a callback called by the validator. This is used when file or node informations are not available to find out what file and line number are affected</info> + <return type='int' info='0 in case of success and -1 in case of error'/> + <arg name='ctx' type='void *' info='user provided context'/> + <arg name='file' type='const char **' info='returned file information'/> + <arg name='line' type='unsigned long *' info='returned line information'/> + </functype> <functype name='xmlSchemaValidityWarningFunc' file='xmlschemas' module='xmlschemas'> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <info>Signature of a warning callback from an XSD validation</info> @@ -15133,6 +15260,13 @@ Could we use @subtypes for this?'/> <arg name='writer' type='xmlTextWriterPtr' info='the xmlTextWriterPtr'/> <arg name='str' type='const xmlChar *' info='the xmlChar string'/> </function> + <function name='xmlTextWriterSetQuoteChar' file='xmlwriter' module='xmlwriter'> + <cond>defined(LIBXML_WRITER_ENABLED)</cond> + <info>Set the character used for quoting attributes.</info> + <return type='int' info='-1 on error or 0 otherwise.'/> + <arg name='writer' type='xmlTextWriterPtr' info='the xmlTextWriterPtr'/> + <arg name='quotechar' type='xmlChar' info='the quote character'/> + </function> <function name='xmlTextWriterStartAttribute' file='xmlwriter' module='xmlwriter'> <cond>defined(LIBXML_WRITER_ENABLED)</cond> <info>Start an xml attribute.</info> @@ -16799,7 +16933,7 @@ Could we use @subtypes for this?'/> <arg name='len' type='int' info='total number to copy'/> </function> <function name='xmlUnlinkNode' file='tree' module='tree'> - <info>Unlink a node from it's current context, the node is not freed If one need to free the node, use xmlFreeNode() routine after the unlink to discard it.</info> + <info>Unlink a node from it's current context, the node is not freed If one need to free the node, use xmlFreeNode() routine after the unlink to discard it. Note that namespace nodes can't be unlinked as they do not have pointer to their parent.</info> <return type='void'/> <arg name='cur' type='xmlNodePtr' info='the node'/> </function> @@ -17782,14 +17916,14 @@ Could we use @subtypes for this?'/> <function name='xmlXPathNodeSetAdd' file='xpathInternals' module='xpath'> <cond>defined(LIBXML_XPATH_ENABLED)</cond> <info>add a new xmlNodePtr to an existing NodeSet</info> - <return type='void'/> + <return type='int' info='0 in case of success, and -1 in case of error'/> <arg name='cur' type='xmlNodeSetPtr' info='the initial node set'/> <arg name='val' type='xmlNodePtr' info='a new xmlNodePtr'/> </function> <function name='xmlXPathNodeSetAddNs' file='xpathInternals' module='xpath'> <cond>defined(LIBXML_XPATH_ENABLED)</cond> <info>add a new namespace node to an existing NodeSet</info> - <return type='void'/> + <return type='int' info='0 in case of success and -1 in case of error'/> <arg name='cur' type='xmlNodeSetPtr' info='the initial node set'/> <arg name='node' type='xmlNodePtr' info='the hosting node'/> <arg name='ns' type='xmlNsPtr' info='a the namespace node'/> @@ -17797,7 +17931,7 @@ Could we use @subtypes for this?'/> <function name='xmlXPathNodeSetAddUnique' file='xpathInternals' module='xpath'> <cond>defined(LIBXML_XPATH_ENABLED)</cond> <info>add a new xmlNodePtr to an existing NodeSet, optimized version when we are sure the node is not already in the set.</info> - <return type='void'/> + <return type='int' info='0 in case of success and -1 in case of failure'/> <arg name='cur' type='xmlNodeSetPtr' info='the initial node set'/> <arg name='val' type='xmlNodePtr' info='a new xmlNodePtr'/> </function> |