diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-09-28 18:58:27 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-09-28 18:58:27 +0000 |
commit | 4432df239b7aba6bff86c838e0be11d08f283b76 (patch) | |
tree | a12cc42ee7a3e819404c2b8816386f320aab812c /doc | |
parent | 9ee35f36437073d952bc88fd64cf1618aad27c7b (diff) | |
download | libxml2-4432df239b7aba6bff86c838e0be11d08f283b76.tar.gz |
cleanup, creating a new legacy.c module, made sure make tests ran in
* Makefile.am: cleanup, creating a new legacy.c module,
made sure make tests ran in reduced conditions
* SAX.c SAX2.c configure.in entities.c globals.c parser.c
parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c
xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in:
increased the modularization, allow to configure out
validation code and legacy code, added a configuration
option --with-minimum compiling only the mandatory code
which then shrink to 200KB.
Daniel
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libxml2-api.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index b120ac3f..402fcd81 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -1380,6 +1380,7 @@ <exports symbol='xmlTextReaderNodeType'/> <exports symbol='xmlTextReaderNormalization'/> <exports symbol='xmlTextReaderPrefix'/> + <exports symbol='xmlTextReaderPreserve'/> <exports symbol='xmlTextReaderPtr'/> <exports symbol='xmlTextReaderQuoteChar'/> <exports symbol='xmlTextReaderRead'/> @@ -7012,7 +7013,7 @@ actually an xmlCharEncoding'/> <arg name='publicID' type='const xmlChar *' info='the public identifier'/> </function> <function name='xmlKeepBlanksDefault' file='parser'> - <info>Set and return the previous value for default blanks text nodes support. The 1.x version of the parser used an heuristic to try to detect ignorable white spaces. As a result the SAX callback was generating ignorableWhitespace() callbacks instead of characters() one, and when using the DOM output text nodes containing those blanks were not generated. The 2.x and later version will switch to the XML standard way and ignorableWhitespace() are only generated when running the parser in validating mode and when the current element doesn't allow CDATA or mixed content. This function is provided as a way to force the standard behavior on 1.X libs and to switch back to the old mode for compatibility when running 1.X client code on 2.X . Upgrade of 1.X code should be done by using xmlIsBlankNode() commodity function to detect the "empty" nodes generated. This value also affect autogeneration of indentation when saving code if blanks sections are kept, indentation is not generated.</info> + <info>Set and return the previous value for default blanks text nodes support. The 1.x version of the parser used an heuristic to try to detect ignorable white spaces. As a result the SAX callback was generating xmlSAX2IgnorableWhitespace() callbacks instead of characters() one, and when using the DOM output text nodes containing those blanks were not generated. The 2.x and later version will switch to the XML standard way and ignorableWhitespace() are only generated when running the parser in validating mode and when the current element doesn't allow CDATA or mixed content. This function is provided as a way to force the standard behavior on 1.X libs and to switch back to the old mode for compatibility when running 1.X client code on 2.X . Upgrade of 1.X code should be done by using xmlIsBlankNode() commodity function to detect the "empty" nodes generated. This value also affect autogeneration of indentation when saving code if blanks sections are kept, indentation is not generated.</info> <return type='int' info='the last value for 0 for no substitution, 1 for substitution.'/> <arg name='val' type='int' info='int 0 or 1'/> </function> @@ -10064,6 +10065,11 @@ actually an xmlCharEncoding'/> <return type='xmlChar *' info='the prefix or NULL if not available'/> <arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/> </function> + <function name='xmlTextReaderPreserve' file='xmlreader'> + <info>current node being accessed by the xmlTextReader. This is dangerous because the underlying node may be destroyed on the next Reads.</info> + <return type='xmlNodePtr' info='the xmlNodePtr or NULL in case of error.'/> + <arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/> + </function> <function name='xmlTextReaderQuoteChar' file='xmlreader'> <info>The quotation mark character used to enclose the value of an attribute.</info> <return type='int' info='" or ' and -1 in case of error'/> |