Clarified in the docs that the tree must not be tried to be modified if

* include/libxml/parser.h: Clarified in the docs that the tree
  must not  be tried to be modified if using the parser flag
  XML_PARSE_COMPACT as suggested by Stefan Behnel
  (#344390).
This commit is contained in:
Kasimier T. Buchcik 2006-06-09 19:46:46 +00:00
parent f781dbaee8
commit 803e37ac2c
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Fri Jun 9 21:45:02 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
* include/libxml/parser.h: Clarified in the docs that the tree
must not be tried to be modified if using the parser flag
XML_PARSE_COMPACT as suggested by Stefan Behnel
(#344390).
Tue Jun 6 17:50:43 CEST 2006 Daniel Veillard <daniel@veillard.com>
* configure.ini NEWS doc//* libxml.spec.in : preparing release of 2.6.26

View File

@ -1089,7 +1089,9 @@ typedef enum {
XML_PARSE_NSCLEAN = 1<<13,/* remove redundant namespaces declarations */
XML_PARSE_NOCDATA = 1<<14,/* merge CDATA as text nodes */
XML_PARSE_NOXINCNODE= 1<<15,/* do not generate XINCLUDE START/END nodes */
XML_PARSE_COMPACT = 1<<16 /* compact small text nodes */
XML_PARSE_COMPACT = 1<<16 /* compact small text nodes; no modification of
the tree allowed afterwards (will possibly
crash if you try to modify the tree) */
} xmlParserOption;
XMLPUBFUN void XMLCALL