preparing release 2.6.19, updated docs and rebuilding. Daniel

* doc/* configure.in NEWS: preparing release 2.6.19, updated docs and
  rebuilding.
Daniel
diff --git a/ChangeLog b/ChangeLog
index a6b0b20..7860d96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Apr  2 12:48:41 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+	* doc/* configure.in NEWS: preparing release 2.6.19, updated docs and
+	  rebuilding.
+
 Sat Apr  2 13:27:32 CEST 2005 Daniel Veillard <daniel@veillard.com>
 
 	* xstc/Makefile.am: integrated fixup-tests.py
diff --git a/configure.in b/configure.in
index ecf601c..d9dfb03 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,7 @@
 
 LIBXML_MAJOR_VERSION=2
 LIBXML_MINOR_VERSION=6
-LIBXML_MICRO_VERSION=18
+LIBXML_MICRO_VERSION=19
 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/APIchunk0.html b/doc/APIchunk0.html
index 9345009..df61e31 100644
--- a/doc/APIchunk0.html
+++ b/doc/APIchunk0.html
@@ -64,6 +64,7 @@
 <a href="html/libxml-tree.html#xmlAddNextSibling">xmlAddNextSibling</a><br />
 <a href="html/libxml-tree.html#xmlAddPrevSibling">xmlAddPrevSibling</a><br />
 </dd><dt>Absolute</dt><dd><a href="html/libxml-uri.html#xmlBuildURI">xmlBuildURI</a><br />
+</dd><dt>Accessor</dt><dd><a href="html/libxml-xmlschemastypes.html#xmlSchemaGetValType">xmlSchemaGetValType</a><br />
 </dd><dt>Activation</dt><dd><a href="html/libxml-xmlreader.html#xmlTextReaderRelaxNGSetSchema">xmlTextReaderRelaxNGSetSchema</a><br />
 <a href="html/libxml-xmlreader.html#xmlTextReaderRelaxNGValidate">xmlTextReaderRelaxNGValidate</a><br />
 </dd><dt>Add</dt><dd><a href="html/libxml-catalog.html#xmlACatalogAdd">xmlACatalogAdd</a><br />
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html
index 4959a4e..c48c7e1 100644
--- a/doc/APIchunk22.html
+++ b/doc/APIchunk22.html
@@ -120,6 +120,7 @@
 </dd><dt>schemas</dt><dd><a href="html/libxml-relaxng.html#xmlRelaxNGNewDocParserCtxt">xmlRelaxNGNewDocParserCtxt</a><br />
 <a href="html/libxml-relaxng.html#xmlRelaxNGNewMemParserCtxt">xmlRelaxNGNewMemParserCtxt</a><br />
 <a href="html/libxml-xmlschemastypes.html#xmlSchemaGetFacetValueAsULong">xmlSchemaGetFacetValueAsULong</a><br />
+<a href="html/libxml-xmlschemastypes.html#xmlSchemaGetValType">xmlSchemaGetValType</a><br />
 <a href="html/libxml-xmlschemas.html#xmlSchemaNewMemParserCtxt">xmlSchemaNewMemParserCtxt</a><br />
 <a href="html/libxml-xmlschemas.html#xmlSchemaValidateDoc">xmlSchemaValidateDoc</a><br />
 <a href="html/libxml-xmlschemastypes.html#xmlSchemaValidateFacet">xmlSchemaValidateFacet</a><br />
diff --git a/doc/APIchunk26.html b/doc/APIchunk26.html
index 45c4c01..ffcf3df 100644
--- a/doc/APIchunk26.html
+++ b/doc/APIchunk26.html
@@ -379,6 +379,7 @@
 </dd><dt>xmlSaveOptions</dt><dd><a href="html/libxml-xmlsave.html#xmlSaveToFd">xmlSaveToFd</a><br />
 <a href="html/libxml-xmlsave.html#xmlSaveToFilename">xmlSaveToFilename</a><br />
 <a href="html/libxml-xmlsave.html#xmlSaveToIO">xmlSaveToIO</a><br />
+</dd><dt>xmlSchemaValType</dt><dd><a href="html/libxml-xmlschemastypes.html#xmlSchemaGetValType">xmlSchemaGetValType</a><br />
 </dd><dt>xmlSchemaValidOption</dt><dd><a href="html/libxml-xmlschemas.html#xmlSchemaSetValidOptions">xmlSchemaSetValidOptions</a><br />
 </dd><dt>xmlSetExternalEntityLoader</dt><dd><a href="html/libxml-SAX.html#resolveEntity">resolveEntity</a><br />
 <a href="html/libxml-parser.html#resolveEntitySAXFunc">resolveEntitySAXFunc</a><br />
diff --git a/doc/apibuild.py b/doc/apibuild.py
index 5f41d91..8851cc0 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -160,9 +160,6 @@
 	    self.set_extra(extra)
         if conditionals != None:
 	    self.set_conditionals(conditionals)
-	if self.name == 'xmlCleanupPredefinedEntities':
-	    print "updating xmlCleanupPredefinedEntities : header %s module %s info %s" % (self.header, self.module, self.info)
-
 
 class index:
     def __init__(self, name = "noname"):
@@ -181,8 +178,6 @@
     def add_ref(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = None):
         if name[0:2] == '__':
 	    return None
-	if name == 'xmlCleanupPredefinedEntities':
-	    print "adding ref xmlCleanupPredefinedEntities : header %s module %s info %s" % (header, module, info)
         d = None
         try:
 	   d = self.identifiers[name]
@@ -205,8 +200,6 @@
     def add(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = None):
         if name[0:2] == '__':
 	    return None
-	if name == 'xmlCleanupPredefinedEntities':
-	    print "adding xmlCleanupPredefinedEntities : header %s module %s info %s" % (header, module, info)
         d = None
         try:
 	   d = self.identifiers[name]
diff --git a/doc/html/libxml-xmlschemastypes.html b/doc/html/libxml-xmlschemastypes.html
index 971c55e..ced84aa 100644
--- a/doc/html/libxml-xmlschemastypes.html
+++ b/doc/html/libxml-xmlschemastypes.html
@@ -73,8 +73,8 @@
 <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>an schemas type facet</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the value as a long</td></tr></tbody></table></div><h3><a name="xmlSchemaGetPredefinedType" id="xmlSchemaGetPredefinedType"></a>Function: xmlSchemaGetPredefinedType</h3><pre class="programlisting"><a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a>	xmlSchemaGetPredefinedType	(const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name, <br />							 const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * ns)<br />
 </pre><p>Lookup a type in the default XML Schemas type library</p>
 <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the type name</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>the URI of the namespace usually "http://www.w3.org/2001/XMLSchema"</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the type if found, NULL otherwise</td></tr></tbody></table></div><h3><a name="xmlSchemaGetValType" id="xmlSchemaGetValType"></a>Function: xmlSchemaGetValType</h3><pre class="programlisting"><a href="libxml-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a>	xmlSchemaGetValType	(<a href="libxml-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val)<br />
-</pre><p></p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlSchemaInitTypes" id="xmlSchemaInitTypes"></a>Function: xmlSchemaInitTypes</h3><pre class="programlisting">void	xmlSchemaInitTypes		(void)<br />
+</pre><p>Accessor for the type of a value</p>
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a schemas value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> of the value</td></tr></tbody></table></div><h3><a name="xmlSchemaInitTypes" id="xmlSchemaInitTypes"></a>Function: xmlSchemaInitTypes</h3><pre class="programlisting">void	xmlSchemaInitTypes		(void)<br />
 </pre><p>Initialize the default XML Schemas type library</p>
 <h3><a name="xmlSchemaIsBuiltInTypeFacet" id="xmlSchemaIsBuiltInTypeFacet"></a>Function: xmlSchemaIsBuiltInTypeFacet</h3><pre class="programlisting">int	xmlSchemaIsBuiltInTypeFacet	(<a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br />					 int facetType)<br />
 </pre><p>Evaluates if a specific facet can be used in conjunction with a type.</p>
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml
index 250c6bc..0be6307 100644
--- a/doc/libxml2-api.xml
+++ b/doc/libxml2-api.xml
@@ -12787,9 +12787,9 @@
     </function>
     <function name='xmlSchemaGetValType' file='xmlschemastypes' module='xmlschemastypes'>
       <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
-      <info></info>
-      <return type='xmlSchemaValType' info=''/>
-      <arg name='val' type='xmlSchemaValPtr' info=''/>
+      <info>Accessor for the type of a value</info>
+      <return type='xmlSchemaValType' info='the xmlSchemaValType of the value'/>
+      <arg name='val' type='xmlSchemaValPtr' info='a schemas value'/>
     </function>
     <function name='xmlSchemaGetValidErrors' file='xmlschemas' module='xmlschemas'>
       <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml
index ca21a66..9ee3ae5 100644
--- a/doc/libxml2-refs.xml
+++ b/doc/libxml2-refs.xml
@@ -13382,6 +13382,9 @@
         <word name='Absolute'>
           <ref name='xmlBuildURI'/>
         </word>
+        <word name='Accessor'>
+          <ref name='xmlSchemaGetValType'/>
+        </word>
         <word name='Activation'>
           <ref name='xmlTextReaderRelaxNGSetSchema'/>
           <ref name='xmlTextReaderRelaxNGValidate'/>
@@ -26127,6 +26130,7 @@
           <ref name='xmlRelaxNGNewDocParserCtxt'/>
           <ref name='xmlRelaxNGNewMemParserCtxt'/>
           <ref name='xmlSchemaGetFacetValueAsULong'/>
+          <ref name='xmlSchemaGetValType'/>
           <ref name='xmlSchemaNewMemParserCtxt'/>
           <ref name='xmlSchemaValidateDoc'/>
           <ref name='xmlSchemaValidateFacet'/>
@@ -29172,6 +29176,9 @@
           <ref name='xmlSaveToFilename'/>
           <ref name='xmlSaveToIO'/>
         </word>
+        <word name='xmlSchemaValType'>
+          <ref name='xmlSchemaGetValType'/>
+        </word>
         <word name='xmlSchemaValidOption'>
           <ref name='xmlSchemaSetValidOptions'/>
         </word>
diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa
index aab08b1..475ec45 100644
--- a/doc/libxml2.xsa
+++ b/doc/libxml2.xsa
@@ -8,33 +8,33 @@
   </vendor>
   <product id="libxml2">
     <name>libxml2</name>
-    <version>2.6.17</version>
-    <last-release> Jan 16 2005</last-release>
+    <version>2.6.18</version>
+    <last-release> Mar 13 2005</last-release>
     <info-url>http://xmlsoft.org/</info-url>
-    <changes>   - build fixes: Windows, warnings removal (William Brack), 
-      maintainer-clean dependency(William), build in a different directory
-      (William), fixing --with-minimum configure build (William), BeOS
-      build (Marcin Konicki), Python-2.4 detection (William), compilation
-      on AIX (Dan McNichol)
-   - bug fixes: xmlTextReaderHasAttributes (Rob Richards), xmlCtxtReadFile()
-      to use the catalog(s), loop on output (William Brack), XPath memory leak,
-      ID deallocation problem (Steve Shepard), debugDumpNode crash (William),
-      warning not using error callback (William), xmlStopParser bug (William),
-      UTF-16 with BOM on DTDs (William), namespace bug on empty elements
-      in push mode (Rob Richards), line and col computations fixups (Aleksey
-      Sanin), xmlURIEscape fix (William), xmlXPathErr on bad range (William),
-      patterns with too many steps, bug in RNG choice optimization, line
-      number sometimes missing.
-      
-   - improvements: XSD Schemas (Kasimier Buchcik), python generator (William),
-      xmlUTF8Strpos speedup (William), unicode Python strings (William),
-      XSD error reports (Kasimier Buchcik), Python __str__ call serialize().
-      
-   - new APIs: added xmlDictExists(), GetLineNumber and GetColumnNumber
-      for the xmlReader (Aleksey Sanin), Dynamic Shared Libraries APIs
-      (mostly Joel Reed), error extraction API from regexps, new XMLSave
-      option for format (Phil Shafer)
-   - documentation: site improvement (John Fleck), FAQ entries (William).
+    <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>
   </product>
diff --git a/doc/news.html b/doc/news.html
index a07144b..8dbca54 100644
--- a/doc/news.html
+++ b/doc/news.html
@@ -12,7 +12,25 @@
   <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.18: Mar 13 2005</h3><ul><li> build fixes: warnings (Peter Breitenlohner), testapi.c generation, 
+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
+       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>
+  <li> 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</li>
+  <li> improvements: lot of work on Schemas by Kasimier Buchcikii on facets
+       checking and also mixed handling.</li>
+  <li></li>
+</ul><h3>2.6.18: Mar 13 2005</h3><ul><li> 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).</li>
   <li> bug fixes: xmlSchemaElementDump namespace (Kasimier Buchcik), push and
diff --git a/doc/xml.html b/doc/xml.html
index 3dc7fd9..97e7157 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -715,6 +715,27 @@
 
 <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
+       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>
+  <li> 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</li>
+  <li> improvements: lot of work on Schemas by Kasimier Buchcikii on facets
+       checking and also mixed handling.</li>
+  <li></li>
+</ul>
 <h3>2.6.18: Mar 13 2005</h3>
 <ul>
   <li> build fixes: warnings (Peter Breitenlohner), testapi.c generation, 
diff --git a/libxml.spec.in b/libxml.spec.in
index eed0f5f..91972bd 100644
--- a/libxml.spec.in
+++ b/libxml.spec.in
@@ -89,13 +89,14 @@
     %configure
     make
 fi
-(cd doc/examples ; make clean)
 gzip -9 ChangeLog
 
 %install
 rm -fr %{buildroot}
 
 %makeinstall
+(cd doc/examples ; make clean ; rm -rf .deps)
+gzip -9 doc/libxml2-api.xml
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %clean
@@ -125,7 +126,7 @@
 %doc %{_mandir}/man1/xml2-config.1*
 %doc AUTHORS ChangeLog.gz NEWS README Copyright TODO
 %doc doc/*.html doc/html doc/*.gif doc/*.png
-%doc doc/tutorial doc/libxml2-api.xml
+%doc doc/tutorial doc/libxml2-api.xml.gz
 %doc doc/examples
 
 %{_libdir}/lib*.so
diff --git a/testapi.c b/testapi.c
index 329d267..4a73ed8 100644
--- a/testapi.c
+++ b/testapi.c
@@ -33067,7 +33067,7 @@
 #if defined(LIBXML_SCHEMAS_ENABLED)
     int mem_base;
     xmlSchemaValType ret_val;
-    xmlSchemaValPtr val; /*  */
+    xmlSchemaValPtr val; /* a schemas value */
     int n_val;
 
     for (n_val = 0;n_val < gen_nb_xmlSchemaValPtr;n_val++) {