reverted first patches for #319279 which led to #326295 and fixed the

* parser.c: reverted first patches for #319279 which led to #326295
  and fixed the problem in xmlParseChunk() instead
* test/ent11 result//ent11*: added test for #326295 to the regression
  suite
Daniel
diff --git a/result/ent11.rde b/result/ent11.rde
new file mode 100644
index 0000000..f6c3c27
--- /dev/null
+++ b/result/ent11.rde
@@ -0,0 +1,5 @@
+0 10 doc 0 0
+0 1 doc 0 0
+1 14 #text 0 1 
+
+0 15 doc 0 0