preparing the release of 2.7.2 fix the Solaris portability issue

* configure.in doc/* NEWS: preparing the release of 2.7.2
* dict.c: fix the Solaris portability issue
* parser.c: additional cleanup on #554660 fix
* test/ent13 result/ent13* result/noent/ent13*: added the
  example in the regression test suite.
* HTMLparser.c: handle leading BOM in htmlParseElement()
Daniel

svn path=/trunk/; revision=3799
diff --git a/result/ent13 b/result/ent13
new file mode 100644
index 0000000..8dd96c9
--- /dev/null
+++ b/result/ent13
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<!DOCTYPE test [
+<!ENTITY ampproblem "&amp;">
+]>
+<t a="&ampproblem;">a</t>
diff --git a/result/ent13.rde b/result/ent13.rde
new file mode 100644
index 0000000..d9227fc
--- /dev/null
+++ b/result/ent13.rde
@@ -0,0 +1,4 @@
+0 10 test 0 0
+0 1 t 0 0
+1 3 #text 0 1 a
+0 15 t 0 0
diff --git a/result/ent13.rdr b/result/ent13.rdr
new file mode 100644
index 0000000..d9227fc
--- /dev/null
+++ b/result/ent13.rdr
@@ -0,0 +1,4 @@
+0 10 test 0 0
+0 1 t 0 0
+1 3 #text 0 1 a
+0 15 t 0 0
diff --git a/result/ent13.sax b/result/ent13.sax
new file mode 100644
index 0000000..5e4bb44
--- /dev/null
+++ b/result/ent13.sax
@@ -0,0 +1,11 @@
+SAX.setDocumentLocator()
+SAX.startDocument()
+SAX.internalSubset(test, , )
+SAX.entityDecl(ampproblem, 1, (null), (null), &amp;)
+SAX.getEntity(ampproblem)
+SAX.externalSubset(test, , )
+SAX.getEntity(ampproblem)
+SAX.startElement(t, a='&ampproblem;')
+SAX.characters(a, 1)
+SAX.endElement(t)
+SAX.endDocument()
diff --git a/result/ent13.sax2 b/result/ent13.sax2
new file mode 100644
index 0000000..3414da6
--- /dev/null
+++ b/result/ent13.sax2
@@ -0,0 +1,11 @@
+SAX.setDocumentLocator()
+SAX.startDocument()
+SAX.internalSubset(test, , )
+SAX.entityDecl(ampproblem, 1, (null), (null), &amp;)
+SAX.getEntity(ampproblem)
+SAX.externalSubset(test, , )
+SAX.getEntity(ampproblem)
+SAX.startElementNs(t, NULL, NULL, 0, 1, 0, a='&amp...', 12)
+SAX.characters(a, 1)
+SAX.endElementNs(t, NULL, NULL)
+SAX.endDocument()
diff --git a/result/noent/ent13 b/result/noent/ent13
new file mode 100644
index 0000000..02bc069
--- /dev/null
+++ b/result/noent/ent13
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<!DOCTYPE test [
+<!ENTITY ampproblem "&amp;">
+]>
+<t a="&amp;">a</t>