@@ -6952,48 +6952,98 @@ Could we use @subtypes for this?'/>
6952
6952
<variable name='emptyExp' file='xmlregexp' type='xmlExpNodePtr'/>
6953
6953
<variable name='forbiddenExp' file='xmlregexp' type='xmlExpNodePtr'/>
6954
6954
<variable name='htmlDefaultSAXHandler' file='globals' type='xmlSAXHandlerV1'/>
6955
- <variable name='oldXMLWDcompatibility' file='globals' type='int'/>
6956
- <variable name='xmlBufferAllocScheme' file='globals' type='xmlBufferAllocationScheme'/>
6957
- <variable name='xmlDefaultBufferSize' file='globals' type='int'/>
6955
+ <variable name='oldXMLWDcompatibility' file='globals' type='int'>
6956
+ <info>Global setting, DEPRECATED.</info>
6957
+ </variable>
6958
+ <variable name='xmlBufferAllocScheme' file='globals' type='xmlBufferAllocationScheme'>
6959
+ <info>DEPRECATED: Don't use. Global setting, default allocation policy for buffers, default is XML_BUFFER_ALLOC_EXACT</info>
6960
+ </variable>
6961
+ <variable name='xmlDefaultBufferSize' file='globals' type='int'>
6962
+ <info>DEPRECATED: Don't use. Global setting, default buffer size. Default value is BASE_BUFFER_SIZE</info>
6963
+ </variable>
6958
6964
<variable name='xmlDefaultSAXHandler' file='globals' type='xmlSAXHandlerV1'/>
6959
6965
<variable name='xmlDefaultSAXLocator' file='globals' type='xmlSAXLocator'/>
6960
6966
<variable name='xmlDeregisterNodeDefaultValue' file='globals' type='xmlDeregisterNodeFunc'/>
6961
- <variable name='xmlDoValidityCheckingDefaultValue' file='globals' type='int'/>
6962
- <variable name='xmlFree' file='globals' type='xmlFreeFunc'/>
6963
- <variable name='xmlGenericError' file='globals' type='xmlGenericErrorFunc'/>
6964
- <variable name='xmlGenericErrorContext' file='globals' type='void *'/>
6965
- <variable name='xmlGetWarningsDefaultValue' file='globals' type='int'/>
6966
- <variable name='xmlIndentTreeOutput' file='globals' type='int'/>
6967
+ <variable name='xmlDoValidityCheckingDefaultValue' file='globals' type='int'>
6968
+ <info>Global setting, indicate that the parser should work in validating mode. Disabled by default.</info>
6969
+ </variable>
6970
+ <variable name='xmlFree' file='globals' type='xmlFreeFunc'>
6971
+ <info>@mem: an already allocated block of memory The variable holding the libxml free() implementation</info>
6972
+ </variable>
6973
+ <variable name='xmlGenericError' file='globals' type='xmlGenericErrorFunc'>
6974
+ <info>Global setting: function used for generic error callbacks</info>
6975
+ </variable>
6976
+ <variable name='xmlGenericErrorContext' file='globals' type='void *'>
6977
+ <info>Global setting passed to generic error callbacks</info>
6978
+ </variable>
6979
+ <variable name='xmlGetWarningsDefaultValue' file='globals' type='int'>
6980
+ <info>Global setting, indicate that the parser should provide warnings. Activated by default.</info>
6981
+ </variable>
6982
+ <variable name='xmlIndentTreeOutput' file='globals' type='int'>
6983
+ <info>Global setting, asking the serializer to indent the output tree by default Enabled by default</info>
6984
+ </variable>
6967
6985
<variable name='xmlIsBaseCharGroup' file='chvalid' type='const xmlChRangeGroup'/>
6968
6986
<variable name='xmlIsCharGroup' file='chvalid' type='const xmlChRangeGroup'/>
6969
6987
<variable name='xmlIsCombiningGroup' file='chvalid' type='const xmlChRangeGroup'/>
6970
6988
<variable name='xmlIsDigitGroup' file='chvalid' type='const xmlChRangeGroup'/>
6971
6989
<variable name='xmlIsExtenderGroup' file='chvalid' type='const xmlChRangeGroup'/>
6972
6990
<variable name='xmlIsIdeographicGroup' file='chvalid' type='const xmlChRangeGroup'/>
6973
6991
<variable name='xmlIsPubidChar_tab' file='chvalid' type='const unsigned charxmlIsPubidChar_tab[256]'/>
6974
- <variable name='xmlKeepBlanksDefaultValue' file='globals' type='int'/>
6992
+ <variable name='xmlKeepBlanksDefaultValue' file='globals' type='int'>
6993
+ <info>Global setting, indicate that the parser should keep all blanks nodes found in the content Activated by default, this is actually needed to have the parser conformant to the XML Recommendation, however the option is kept for some applications since this was libxml1 default behaviour.</info>
6994
+ </variable>
6975
6995
<variable name='xmlLastError' file='globals' type='xmlError'/>
6976
- <variable name='xmlLineNumbersDefaultValue' file='globals' type='int'/>
6977
- <variable name='xmlLoadExtDtdDefaultValue' file='globals' type='int'/>
6978
- <variable name='xmlMalloc' file='globals' type='xmlMallocFunc'/>
6979
- <variable name='xmlMallocAtomic' file='globals' type='xmlMallocFunc'/>
6980
- <variable name='xmlMemStrdup' file='globals' type='xmlStrdupFunc'/>
6996
+ <variable name='xmlLineNumbersDefaultValue' file='globals' type='int'>
6997
+ <info>DEPRECATED: The modern options API always enables line numbers. Global setting, indicate that the parser should store the line number in the content field of elements in the DOM tree. Disabled by default since this may not be safe for old classes of application.</info>
6998
+ </variable>
6999
+ <variable name='xmlLoadExtDtdDefaultValue' file='globals' type='int'>
7000
+ <info>Global setting, indicate that the parser should load DTD while not validating. Disabled by default.</info>
7001
+ </variable>
7002
+ <variable name='xmlMalloc' file='globals' type='xmlMallocFunc'>
7003
+ <info>@size: the size requested in bytes The variable holding the libxml malloc() implementation Returns a pointer to the newly allocated block or NULL in case of error</info>
7004
+ </variable>
7005
+ <variable name='xmlMallocAtomic' file='globals' type='xmlMallocFunc'>
7006
+ <info>@size: the size requested in bytes The variable holding the libxml malloc() implementation for atomic data (i.e. blocks not containing pointers), useful when using a garbage collecting allocator. Returns a pointer to the newly allocated block or NULL in case of error</info>
7007
+ </variable>
7008
+ <variable name='xmlMemStrdup' file='globals' type='xmlStrdupFunc'>
7009
+ <info>@str: a zero terminated string The variable holding the libxml strdup() implementation Returns the copy of the string or NULL in case of error</info>
7010
+ </variable>
6981
7011
<variable name='xmlOutputBufferCreateFilenameValue' file='globals' type='xmlOutputBufferCreateFilenameFunc'/>
6982
- <variable name='xmlParserDebugEntities' file='globals' type='int'/>
7012
+ <variable name='xmlParserDebugEntities' file='globals' type='int'>
7013
+ <info>Global setting, asking the parser to print out debugging information. while handling entities. Disabled by default</info>
7014
+ </variable>
6983
7015
<variable name='xmlParserInputBufferCreateFilenameValue' file='globals' type='xmlParserInputBufferCreateFilenameFunc'/>
6984
- <variable name='xmlParserMaxDepth' file='parserInternals' type='unsigned int'/>
6985
- <variable name='xmlParserVersion' file='globals' type='const char *'/>
6986
- <variable name='xmlPedanticParserDefaultValue' file='globals' type='int'/>
6987
- <variable name='xmlRealloc' file='globals' type='xmlReallocFunc'/>
7016
+ <variable name='xmlParserMaxDepth' file='parserInternals' type='unsigned int'>
7017
+ <info>arbitrary depth limit for the XML documents that we allow to process. This is not a limitation of the parser but a safety boundary feature. It can be disabled with the XML_PARSE_HUGE parser option.</info>
7018
+ </variable>
7019
+ <variable name='xmlParserVersion' file='globals' type='const char *'>
7020
+ <info>Constant string describing the internal version of the library</info>
7021
+ </variable>
7022
+ <variable name='xmlPedanticParserDefaultValue' file='globals' type='int'>
7023
+ <info>DEPRECATED: Use the modern options API with XML_PARSE_PEDANTIC. Global setting, indicate that the parser be pedantic Disabled by default.</info>
7024
+ </variable>
7025
+ <variable name='xmlRealloc' file='globals' type='xmlReallocFunc'>
7026
+ <info>@mem: an already allocated block of memory @size: the new size requested in bytes The variable holding the libxml realloc() implementation Returns a pointer to the newly reallocated block or NULL in case of error</info>
7027
+ </variable>
6988
7028
<variable name='xmlRegisterNodeDefaultValue' file='globals' type='xmlRegisterNodeFunc'/>
6989
- <variable name='xmlSaveNoEmptyTags' file='globals' type='int'/>
7029
+ <variable name='xmlSaveNoEmptyTags' file='globals' type='int'>
7030
+ <info>Global setting, asking the serializer to not output empty tags as <empty/> but <empty></empty>. those two forms are indistinguishable once parsed. Disabled by default</info>
7031
+ </variable>
6990
7032
<variable name='xmlStringComment' file='parserInternals' type='const xmlCharxmlStringComment[]'/>
6991
7033
<variable name='xmlStringText' file='parserInternals' type='const xmlCharxmlStringText[]'/>
6992
7034
<variable name='xmlStringTextNoenc' file='parserInternals' type='const xmlCharxmlStringTextNoenc[]'/>
6993
- <variable name='xmlStructuredError' file='globals' type='xmlStructuredErrorFunc'/>
6994
- <variable name='xmlStructuredErrorContext' file='globals' type='void *'/>
6995
- <variable name='xmlSubstituteEntitiesDefaultValue' file='globals' type='int'/>
6996
- <variable name='xmlTreeIndentString' file='globals' type='const char *'/>
7035
+ <variable name='xmlStructuredError' file='globals' type='xmlStructuredErrorFunc'>
7036
+ <info>Global setting: function used for structured error callbacks</info>
7037
+ </variable>
7038
+ <variable name='xmlStructuredErrorContext' file='globals' type='void *'>
7039
+ <info>Global setting passed to structured error callbacks</info>
7040
+ </variable>
7041
+ <variable name='xmlSubstituteEntitiesDefaultValue' file='globals' type='int'>
7042
+ <info>Global setting, indicate that the parser should not generate entity references but replace them with the actual content of the entity Disabled by default, this should be activated when using XPath since the XPath data model requires entities replacement and the XPath engine does not handle entities references transparently.</info>
7043
+ </variable>
7044
+ <variable name='xmlTreeIndentString' file='globals' type='const char *'>
7045
+ <info>The string used to do one-level indent. By default is equal to " " (two spaces)</info>
7046
+ </variable>
6997
7047
<variable name='xmlXPathNAN' file='xpath' type='double'/>
6998
7048
<variable name='xmlXPathNINF' file='xpath' type='double'/>
6999
7049
<variable name='xmlXPathPINF' file='xpath' type='double'/>
0 commit comments