1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

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

@@ -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