preparing release 2.6.20 removed a compilation problem Daniel

* Makefile.am NEWS configure.in doc/*: preparing release 2.6.20
* xmllint.c: removed a compilation problem
Daniel
diff --git a/ChangeLog b/ChangeLog
index ee47359..3ff031e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 11 00:28:10 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+	* Makefile.am NEWS configure.in doc/*: preparing release 2.6.20 
+	* xmllint.c: removed a compilation problem
+
 Sun Jul 10 23:33:41 CEST 2005 Daniel Veillard <daniel@veillard.com>
 
 	* xstc/Makefile.am README README.tests Makefile.tests Makefile.am:
diff --git a/Makefile.am b/Makefile.am
index b0455d4..0f7d555 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1077,7 +1077,7 @@
 	@(rm -f libxml*.tar.gz COPYING.LIB)
 
 rpm: cleanup cleantar
-	@(unset CDPATH ; $(MAKE) dist-source dist && rpmbuild -ta $(distdir).tar.gz)
+	@(unset CDPATH ; $(MAKE) dist-source dist dist-test && rpmbuild -ta $(distdir).tar.gz)
 
 ## We create xml2Conf.sh here and not from configure because we want
 ## to get the paths expanded correctly.  Macros like srcdir are given
diff --git a/NEWS b/NEWS
index 1d69e56..a8f28ea 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,47 @@
 to the CVS at 
 http://cvs.gnome.org/viewcvs/libxml2/
  code base.There is the list of public releases:
+2.6.20: Jul 10 2005:
+   -  build fixes: Windows build (Rob Richards), Mingw compilation (Igor
+       Zlatkovic), Windows Makefile (Igor), gcc warnings (Kasimier and
+       andriy@google.com), use gcc weak references to pthread to avoid the
+       pthread dependancy on Linux, compilation problem (Steve Nairn),
+       compiling of subset (Morten Welinder), IPv6/ss_family compilation
+       (William Brack), compilation when disabling parts of the library,
+       standalone test distribution.
+       
+   -  bug fixes: bug in lang(), memory cleanup on errors (William Brack),
+       HTTP query strings (Aron Stansvik), memory leak in DTD (William),
+       integer overflow in XPath (William), nanoftp buffer size, pattern
+       "." apth fixup (Kasimier), leak in tree reported by Malcolm Rowe,
+       replaceNode patch (Brent Hendricks), CDATA with NULL content
+       (Mark Vakoc), xml:base fixup on XInclude (William), pattern
+       fixes (William), attribute bug in exclusive c14n (Aleksey Sanin),
+       xml:space and xml:lang with SAX2 (Rob Richards), namespace 
+       trouble in complex parsing (Malcolm Rowe), XSD type QNames fixes
+       (Kasimier), XPath streaming fixups (William), RelaxNG bug (Rob Richards),
+       Schemas for Schemas fixes (Kasimier), removal of ID (Rob Richards),
+       a small RelaxNG leak, HTML parsing in push mode bug (James Bursa),
+       failure to detect UTF-8 parsing bugs in CDATA sections, areBlanks()
+       heuristic failure, duplicate attributes in DTD bug (William).
+       
+   -  improvements: lot of work on Schemas by Kasimier Buchcik both on 
+       conformance and streaming, Schemas validation messages (Kasimier
+       Buchcik, Matthew Burgess), namespace removal at the python level
+       (Brent Hendricks), Update to new Schemas regression tests from
+       W3C/Nist (Kasimier), xmlSchemaValidateFile() (Kasimier), implementation
+       of xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml (James Wert),
+       standalone test framework and programs, new DOM import APIs
+       xmlDOMWrapReconcileNamespaces() xmlDOMWrapAdoptNode() and
+       xmlDOMWrapRemoveNode(), extension of xmllint capabilities for
+       SAX and Schemas regression tests, xmlStopParser() available in
+       pull mode too, ienhancement to xmllint --shell namespaces support,
+       Windows port of the standalone testing tools (Kasimier and William),
+       xmlSchemaValidateStream() xmlSchemaSAXPlug() and xmlSchemaSAXUnplug()
+       SAX Schemas APIs, Schemas xmlReader support.
+       
+
+
 2.6.19: Apr 02 2005:
    -  build fixes: drop .la from RPMs, --with-minimum build fix (William
        Brack), use XML_SOCKLEN_T instead of SOCKLEN_T because it breaks with
diff --git a/configure.in b/configure.in
index e5ca84f..6777c94 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,7 @@
 
 LIBXML_MAJOR_VERSION=2
 LIBXML_MINOR_VERSION=6
-LIBXML_MICRO_VERSION=19
+LIBXML_MICRO_VERSION=20
 LIBXML_MICRO_VERSION_SUFFIX=
 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa
index 475ec45..e6e5ffe 100644
--- a/doc/libxml2.xsa
+++ b/doc/libxml2.xsa
@@ -8,33 +8,27 @@
   </vendor>
   <product id="libxml2">
     <name>libxml2</name>
-    <version>2.6.18</version>
-    <last-release> Mar 13 2005</last-release>
+    <version>2.6.19</version>
+    <last-release> Apr 02 2005</last-release>
     <info-url>http://xmlsoft.org/</info-url>
-    <changes>   -  build fixes: warnings (Peter Breitenlohner), testapi.c generation, 
-       Bakefile support (Francesco Montorsi), Windows compilation (Joel Reed),
-       some gcc4 fixes, HP-UX portability fixes (Rick Jones).
-   -  bug fixes: xmlSchemaElementDump namespace (Kasimier Buchcik), push and
-       xmlreader stopping on non-fatal errors, thread support for dictionnaries
-       reference counting (Gary Coady), internal subset and push problem, 
-       URL saved in xmlCopyDoc, various schemas bug fixes (Kasimier), Python
-       paths fixup (Stephane Bidoul), xmlGetNodePath and namespaces, 
-       xmlSetNsProp fix (Mike Hommey), warning should not count as error
-       (William Brack), xmlCreatePushParser empty chunk, XInclude parser
-       flags (William), cleanup FTP and HTTP code to reuse the uri parsing
-       and IPv6 (William), xmlTextWriterStartAttributeNS fix (Rob Richards),
-       XMLLINT_INDENT being empty (William), xmlWriter bugs (Rob Richards),
-       multithreading on Windows (Rich Salz), xmlSearchNsByHref fix (Kasimier),
-       Python binding leak (Brent Hendricks), aliasing bug exposed by gcc4
-       on s390, xmlTextReaderNext bug (Rob Richards), Schemas decimal type
-       fixes (William Brack), xmlByteConsumed static buffer (Ben Maurer).
-   -  improvement: speedup parsing comments and DTDs, dictionnary support for
-       hash tables, Schemas Identity constraints (Kasimier), streaming XPath
-       subset, xmlTextReaderReadString added (Bjorn Reese), Schemas canonical
-       values handling (Kasimier), add xmlTextReaderByteConsumed (Aron
-       Stansvik), 
-   -  Documentation: Wiki support (Joel Reed)
-
+    <changes>   -  build fixes: drop .la from RPMs, --with-minimum build fix (William
+       Brack), use XML_SOCKLEN_T instead of SOCKLEN_T because it breaks with
+       AIX 5.3 compiler, fixed elfgcchack.h generation and PLT reduction
+       code on Linux/ELF/gcc4
+   -  bug fixes: schemas type decimal fixups (William Brack), xmmlint return
+       code (Gerry Murphy), small schemas fixes (Matthew Burgess and
+       GUY Fabrice), workaround "DAV:" namespace brokeness in c14n (Aleksey
+       Sanin), segfault in Schemas (Kasimier Buchcik), Schemas attribute
+       validation (Kasimier), Prop related functions and xmlNewNodeEatName
+       (Rob Richards), HTML serialization of name attribute on a elements,
+       Python error handlers leaks and improvement (Brent Hendricks), 
+       uninitialized variable in encoding code, Relax-NG validation bug,
+       potential crash if gnorableWhitespace is NULL, xmlSAXParseDoc and
+       xmlParseDoc signatures, switched back to assuming UTF-8 in case 
+       no encoding is given at serialization time
+   -  improvements: lot of work on Schemas by Kasimier Buchcik on facets
+       checking and also mixed handling.
+   - 
 
 </changes>
   </product>
diff --git a/doc/news.html b/doc/news.html
index 14f0187..3d6a7b7 100644
--- a/doc/news.html
+++ b/doc/news.html
@@ -12,7 +12,45 @@
   <li>Finishing up <a href="http://www.w3.org/TR/xmlschema-1/">XML
   Schemas</a></li>
 </ul><p>The <a href="ChangeLog.html">change log</a> describes the recents commits
-to the <a href="http://cvs.gnome.org/viewcvs/libxml2/">CVS</a> code base.</p><p>There is the list of public releases:</p><h3>2.6.19: Apr 02 2005</h3><ul><li> build fixes: drop .la from RPMs, --with-minimum build fix (William
+to the <a href="http://cvs.gnome.org/viewcvs/libxml2/">CVS</a> code base.</p><p>There is the list of public releases:</p><h3>2.6.20: Jul 10 2005</h3><ul><li> build fixes: Windows build (Rob Richards), Mingw compilation (Igor
+       Zlatkovic), Windows Makefile (Igor), gcc warnings (Kasimier and
+       andriy@google.com), use gcc weak references to pthread to avoid the
+       pthread dependancy on Linux, compilation problem (Steve Nairn),
+       compiling of subset (Morten Welinder), IPv6/ss_family compilation
+       (William Brack), compilation when disabling parts of the library,
+       standalone test distribution.
+       </li>
+  <li> bug fixes: bug in lang(), memory cleanup on errors (William Brack),
+       HTTP query strings (Aron Stansvik), memory leak in DTD (William),
+       integer overflow in XPath (William), nanoftp buffer size, pattern
+       "." apth fixup (Kasimier), leak in tree reported by Malcolm Rowe,
+       replaceNode patch (Brent Hendricks), CDATA with NULL content
+       (Mark Vakoc), xml:base fixup on XInclude (William), pattern
+       fixes (William), attribute bug in exclusive c14n (Aleksey Sanin),
+       xml:space and xml:lang with SAX2 (Rob Richards), namespace 
+       trouble in complex parsing (Malcolm Rowe), XSD type QNames fixes
+       (Kasimier), XPath streaming fixups (William), RelaxNG bug (Rob Richards),
+       Schemas for Schemas fixes (Kasimier), removal of ID (Rob Richards),
+       a small RelaxNG leak, HTML parsing in push mode bug (James Bursa),
+       failure to detect UTF-8 parsing bugs in CDATA sections, areBlanks()
+       heuristic failure, duplicate attributes in DTD bug (William).
+       </li>
+  <li> improvements: lot of work on Schemas by Kasimier Buchcik both on 
+       conformance and streaming, Schemas validation messages (Kasimier
+       Buchcik, Matthew Burgess), namespace removal at the python level
+       (Brent Hendricks), Update to new Schemas regression tests from
+       W3C/Nist (Kasimier), xmlSchemaValidateFile() (Kasimier), implementation
+       of xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml (James Wert),
+       standalone test framework and programs, new DOM import APIs
+       xmlDOMWrapReconcileNamespaces() xmlDOMWrapAdoptNode() and
+       xmlDOMWrapRemoveNode(), extension of xmllint capabilities for
+       SAX and Schemas regression tests, xmlStopParser() available in
+       pull mode too, ienhancement to xmllint --shell namespaces support,
+       Windows port of the standalone testing tools (Kasimier and William),
+       xmlSchemaValidateStream() xmlSchemaSAXPlug() and xmlSchemaSAXUnplug()
+       SAX Schemas APIs, Schemas xmlReader support.
+       </li>
+</ul><h3>2.6.19: Apr 02 2005</h3><ul><li> build fixes: drop .la from RPMs, --with-minimum build fix (William
        Brack), use XML_SOCKLEN_T instead of SOCKLEN_T because it breaks with
        AIX 5.3 compiler, fixed elfgcchack.h generation and PLT reduction
        code on Linux/ELF/gcc4</li>
diff --git a/doc/xml.html b/doc/xml.html
index 49e6777..7e6e476 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -715,6 +715,47 @@
 
 <p>There is the list of public releases:</p>
 
+<h3>2.6.20: Jul 10 2005</h3>
+<ul>
+  <li> build fixes: Windows build (Rob Richards), Mingw compilation (Igor
+       Zlatkovic), Windows Makefile (Igor), gcc warnings (Kasimier and
+       andriy@google.com), use gcc weak references to pthread to avoid the
+       pthread dependancy on Linux, compilation problem (Steve Nairn),
+       compiling of subset (Morten Welinder), IPv6/ss_family compilation
+       (William Brack), compilation when disabling parts of the library,
+       standalone test distribution.
+       </li>
+  <li> bug fixes: bug in lang(), memory cleanup on errors (William Brack),
+       HTTP query strings (Aron Stansvik), memory leak in DTD (William),
+       integer overflow in XPath (William), nanoftp buffer size, pattern
+       "." apth fixup (Kasimier), leak in tree reported by Malcolm Rowe,
+       replaceNode patch (Brent Hendricks), CDATA with NULL content
+       (Mark Vakoc), xml:base fixup on XInclude (William), pattern
+       fixes (William), attribute bug in exclusive c14n (Aleksey Sanin),
+       xml:space and xml:lang with SAX2 (Rob Richards), namespace 
+       trouble in complex parsing (Malcolm Rowe), XSD type QNames fixes
+       (Kasimier), XPath streaming fixups (William), RelaxNG bug (Rob Richards),
+       Schemas for Schemas fixes (Kasimier), removal of ID (Rob Richards),
+       a small RelaxNG leak, HTML parsing in push mode bug (James Bursa),
+       failure to detect UTF-8 parsing bugs in CDATA sections, areBlanks()
+       heuristic failure, duplicate attributes in DTD bug (William).
+       </li>
+  <li> improvements: lot of work on Schemas by Kasimier Buchcik both on 
+       conformance and streaming, Schemas validation messages (Kasimier
+       Buchcik, Matthew Burgess), namespace removal at the python level
+       (Brent Hendricks), Update to new Schemas regression tests from
+       W3C/Nist (Kasimier), xmlSchemaValidateFile() (Kasimier), implementation
+       of xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml (James Wert),
+       standalone test framework and programs, new DOM import APIs
+       xmlDOMWrapReconcileNamespaces() xmlDOMWrapAdoptNode() and
+       xmlDOMWrapRemoveNode(), extension of xmllint capabilities for
+       SAX and Schemas regression tests, xmlStopParser() available in
+       pull mode too, ienhancement to xmllint --shell namespaces support,
+       Windows port of the standalone testing tools (Kasimier and William),
+       xmlSchemaValidateStream() xmlSchemaSAXPlug() and xmlSchemaSAXUnplug()
+       SAX Schemas APIs, Schemas xmlReader support.
+       </li>
+</ul>
 <h3>2.6.19: Apr 02 2005</h3>
 <ul>
   <li> build fixes: drop .la from RPMs, --with-minimum build fix (William
diff --git a/xmllint.c b/xmllint.c
index 001e6e8..0cbc3d1 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -1607,8 +1607,10 @@
 
     if (noout) {
         handler = emptySAXHandler;
+#ifdef LIBXML_SAX1_ENABLED
     } else if (sax1) {
         handler = debugSAXHandler;
+#endif
     } else {
         handler = debugSAX2Handler;
     }