fixed bug #118712 about mixed content, and namespaced element names. added

* valid.c: fixed bug #118712 about mixed content, and namespaced
  element names.
* test/valid/mixed_ns.xml result/valid/mixed_ns*: added a check
  in the regression tests
Daniel
diff --git a/doc/encoding.html b/doc/encoding.html
index 28e935b..7e50d6f 100644
--- a/doc/encoding.html
+++ b/doc/encoding.html
@@ -92,7 +92,7 @@
 (internationalization) support get triggered only during I/O operation, i.e.
 when reading a document or saving one. Let's look first at the reading
 sequence:</p><ol><li>when a document is processed, we usually don't know the encoding, a
-    simple heuristic allows to detect UTF-18 and UCS-4 from whose where the
+    simple heuristic allows to detect UTF-16 and UCS-4 from whose where the
     ASCII range (0-0x7F) maps with ASCII</li>
   <li>the xml declaration if available is parsed, including the encoding
     declaration. At that point, if the autodetected encoding is different