This patch contains a fix for bug 148448 (sorry got filed under the libxml project rather than libxml2). If node is XML_ENTITY_REF_NODE it will skip trying to browse the nodes subtree. Also in this patch, newlines are added to the errors from xmlTreeErr. I dont see any harm in the newlines as the errors are not split up anywhere with additional data being sent to the eror handler as well as the fact that the errors from xmlTreeMemorry also get newlines added to them in the __xmlSimpleError call. Rob
Attachment:
tree.c.diff.txt
Description: Text document