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.rdr b/result/ent11.rdr
new file mode 100644
index 0000000..54a754a
--- /dev/null
+++ b/result/ent11.rdr
@@ -0,0 +1,4 @@
+0 10 doc 0 0
+0 1 doc 0 0
+1 5 newl 0 0
+0 15 doc 0 0