diff --git a/ChangeLog b/ChangeLog index f6b31ef0..efd73e49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Fri Jun 9 21:45:02 CEST 2006 Kasimier Buchcik + + * 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 * configure.ini NEWS doc//* libxml.spec.in : preparing release of 2.6.26 diff --git a/include/libxml/parser.h b/include/libxml/parser.h index 46377ff2..8118d4e2 100644 --- a/include/libxml/parser.h +++ b/include/libxml/parser.h @@ -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