fixed a serious problem when substituing entities using the Reader, the
* parser.c xmlreader.c include/libxml/parser.h: fixed a serious
problem when substituing entities using the Reader, the entities
content might be freed and if rereferenced would crash
* Makefile.am test/* result/*: added a new test case and a new
test operation for the reader with substitution of entities.
Daniel
diff --git a/result/utf16bebom.xml.rde b/result/utf16bebom.xml.rde
new file mode 100644
index 0000000..f69338a
--- /dev/null
+++ b/result/utf16bebom.xml.rde
@@ -0,0 +1,4 @@
+0 8 #comment 0 1 This file is encoded in UTF-16BE
+0 1 repository 0 0
+1 1 namespace 1 0
+0 15 repository 0 0