preparing release of libxml2-2.6.3, updated and regenerated the docs.

* configure.in doc/* libxml.spec.in: preparing release of
  libxml2-2.6.3, updated and regenerated the docs.
Daniel
diff --git a/ChangeLog b/ChangeLog
index 8c16bb6..3452ea0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 10 14:11:20 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+	* configure.in doc/* libxml.spec.in: preparing release of
+	  libxml2-2.6.3, updated and regenerated the docs.
+
 Wed Dec 10 11:43:33 CET 2003 Daniel Veillard <daniel@veillard.com>
 
 	* SAX2.c pattern.c: removed some compilation warnings
diff --git a/NEWS b/NEWS
index bc5400c..4ad0f86 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,33 @@
   Schemas
 
 
+2.6.3: Dec 10 2003:
+   - documentation updates and cleanup (DV, William Brack, John Fleck)
+   - added a repository of examples, examples from Aleksey Sanin, Dodji
+    Seketeli, Alfred Mickautsch 
+   - Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw
+    (Kenneth Haley)
+   - Unicode range checking (William Brack)
+   - code cleanup (William Brack)
+   - Python bindings: doc (John Fleck),  bug fixes
+   - UTF-16 cleanup and BOM issues (William Brack)
+   - bug fixes: ID and xmlReader validation, XPath (William Brack),
+    xmlWriter (Alfred Mickautsch), hash.h inclusion problem, HTML parser
+    (James Bursa), attribute defaulting and validation, some serialization
+    cleanups, XML_GET_LINE macro, memory debug when using threads (William
+    Brack), serialization of attributes and entities content, xmlWriter
+    (Daniel Schulman)
+   - XInclude bugfix, new APIs and update to the last version including the
+    namespace change.
+   - XML Schemas improvements: include (Robert Stepanek), import and
+    namespace handling, fixed the regression tests troubles, added examples
+    based on Eric van der Vlist book, regexp fixes 
+   - preliminary pattern support for streaming (needed for schemas
+    constraints), added xmlTextReaderPreservePattern() to collect subdocument
+    when streaming.
+   - various fixes in the structured error handling
+
+
 2.6.2: Nov 4 2003:
    - XPath context unregistration fixes
    - text node coalescing fixes (Mark Lilback)
@@ -24,7 +51,7 @@
    - compilation fixes (Mark Vakoc)
    - stdin parsing fix (William Brack)
    - a posteriori DTD validation fixes
-   - xmlReader bug fixes: Walker fixes, python bindings 
+   - xmlReader bug fixes: Walker fixes, python bindings
    - fixed xmlStopParser() to really stop the parser and errors
    - always generate line numbers when using the new xmlReadxxx
   functions
diff --git a/configure.in b/configure.in
index 079c646..2b22956 100644
--- a/configure.in
+++ b/configure.in
@@ -6,7 +6,7 @@
 
 LIBXML_MAJOR_VERSION=2
 LIBXML_MINOR_VERSION=6
-LIBXML_MICRO_VERSION=2
+LIBXML_MICRO_VERSION=3
 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/FAQ.html b/doc/FAQ.html
index 972e9c5..3424e3f 100644
--- a/doc/FAQ.html
+++ b/doc/FAQ.html
@@ -188,16 +188,17 @@
     can:</p>
     <ul><li>check more deeply the <a href="html/libxml-lib.html">existing
         generated doc</a></li>
-      <li>have a look at <a href="examples/index.html">the set of examples</a>.
-      </li><li>look for examples of use for libxml2 function using the Gnome code.
+      <li>have a look at <a href="examples/index.html">the set of
+        examples</a>.</li>
+      <li>look for examples of use for libxml2 function using the Gnome code.
         For example the following will query the full Gnome CVS base for the
         use of the <strong>xmlAddChild()</strong> function:
         <p><a href="http://cvs.gnome.org/lxr/search?string=xmlAddChild">http://cvs.gnome.org/lxr/search?string=xmlAddChild</a></p>
         <p>This may be slow, a large hardware donation to the gnome project
         could cure this :-)</p>
       </li>
-      <li><a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Browse the libxml2 source</a> , I try to write code as clean and
-	documented
+      <li><a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Browse
+        the libxml2 source</a> , I try to write code as clean and documented
         as possible, so looking at it may be helpful. In particular the code
         of xmllint.c and of the various testXXX.c test programs should
         provide good examples of how to do things with the library.</li>
diff --git a/doc/docs.html b/doc/docs.html
index 8aca96a..f486c13 100644
--- a/doc/docs.html
+++ b/doc/docs.html
@@ -16,13 +16,13 @@
     internationalization support</a>.</li>
   <li>This page provides a global overview and <a href="example.html">some
     examples</a> on how to use libxml.</li>
-  <li><a href="examples/index.html">Code examples</a></li> 
+  <li><a href="examples/index.html">Code examples</a></li>
   <li>John Fleck's libxml2 tutorial: <a href="tutorial/index.html">html</a>
     or <a href="tutorial/xmltutorial.pdf">pdf</a>.</li>
   <li>If you need to parse large files, check the <a href="xmlreader.html">xmlReader</a> API tutorial</li>
   <li><a href="mailto:james@daa.com.au">James Henstridge</a> wrote <a href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">some nice
     documentation</a> explaining how to use the libxml SAX interface.</li>
-<li>George Lebl wrote <a href="http://www-106.ibm.com/developerworks/library/l-gnome3/">an article
+  <li>George Lebl wrote <a href="http://www-106.ibm.com/developerworks/library/l-gnome3/">an article
     for IBM developerWorks</a> about using libxml.</li>
   <li>Check <a href="http://cvs.gnome.org/lxr/source/gnome-xml/TODO">the TODO
     file</a>.</li>
diff --git a/doc/examples/reader1.out b/doc/examples/reader1.out
index eb48d85..695b635 100644
--- a/doc/examples/reader1.out
+++ b/doc/examples/reader1.out
Binary files differ
diff --git a/doc/examples/reader3.out b/doc/examples/reader3.out
index 20e2e82..9ce9f22 100644
--- a/doc/examples/reader3.out
+++ b/doc/examples/reader3.out
Binary files differ
diff --git a/doc/examples/tree1.out b/doc/examples/tree1.out
index 7b14ad0..ce8f4f8 100644
--- a/doc/examples/tree1.out
+++ b/doc/examples/tree1.out
Binary files differ
diff --git a/doc/examples/tree2.out b/doc/examples/tree2.out
index ed00195..1294428 100644
--- a/doc/examples/tree2.out
+++ b/doc/examples/tree2.out
Binary files differ
diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa
index 81a5da7..07e4b67 100644
--- a/doc/libxml2.xsa
+++ b/doc/libxml2.xsa
@@ -8,29 +8,33 @@
   </vendor>
   <product id="libxml2">
     <name>libxml2</name>
-    <version>2.6.2</version>
-    <last-release> Nov 4 2003</last-release>
+    <version>2.6.3</version>
+    <last-release> Dec 10 2003</last-release>
     <info-url>http://xmlsoft.org/</info-url>
-    <changes>   - XPath context unregistration fixes
-   - text node coalescing fixes (Mark Lilback)
-   - API to screate a W3C Schemas from an existing document (Steve Ball)
-   - BeOS patches (Marcin 'Shard' Konicki)
-   - xmlStrVPrintf function added (Aleksey Sanin)
-   - compilation fixes (Mark Vakoc)
-   - stdin parsing fix (William Brack)
-   - a posteriori DTD validation fixes
-   - xmlReader bug fixes: Walker fixes, python bindings 
-   - fixed xmlStopParser() to really stop the parser and errors
-   - always generate line numbers when using the new xmlReadxxx
-  functions
-   - added XInclude support to the xmlReader interface
-   - implemented XML_PARSE_NONET parser option
-   - DocBook XSLT processing bug fixed
-   - HTML serialization for &lt;p&gt; elements (William Brack and me)
-   - XPointer failure in XInclude are now handled as resource errors
-   - fixed xmllint --html to use the HTML serializer on output (added
-    --xmlout to implement the previous behaviour of saving it using the XML
-    serializer)
+    <changes>   - documentation updates and cleanup (DV, William Brack, John Fleck)
+   - added a repository of examples, examples from Aleksey Sanin, Dodji
+    Seketeli, Alfred Mickautsch 
+   - Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw
+    (Kenneth Haley)
+   - Unicode range checking (William Brack)
+   - code cleanup (William Brack)
+   - Python bindings: doc (John Fleck),  bug fixes
+   - UTF-16 cleanup and BOM issues (William Brack)
+   - bug fixes: ID and xmlReader validation, XPath (William Brack),
+    xmlWriter (Alfred Mickautsch), hash.h inclusion problem, HTML parser
+    (James Bursa), attribute defaulting and validation, some serialization
+    cleanups, XML_GET_LINE macro, memory debug when using threads (William
+    Brack), serialization of attributes and entities content, xmlWriter
+    (Daniel Schulman)
+   - XInclude bugfix, new APIs and update to the last version including the
+    namespace change.
+   - XML Schemas improvements: include (Robert Stepanek), import and
+    namespace handling, fixed the regression tests troubles, added examples
+    based on Eric van der Vlist book, regexp fixes 
+   - preliminary pattern support for streaming (needed for schemas
+    constraints), added xmlTextReaderPreservePattern() to collect subdocument
+    when streaming.
+   - various fixes in the structured error handling
 
 </changes>
   </product>
diff --git a/doc/news.html b/doc/news.html
index 435bc84..7dca421 100644
--- a/doc/news.html
+++ b/doc/news.html
@@ -12,6 +12,30 @@
 to test those</p><ul><li>More testing on RelaxNG</li>
   <li>Finishing up <a href="http://www.w3.org/TR/xmlschema-1/">XML
   Schemas</a></li>
+</ul><h3>2.6.3: Dec 10 2003</h3><ul><li>documentation updates and cleanup (DV, William Brack, John Fleck)</li>
+  <li>added a repository of examples, examples from Aleksey Sanin, Dodji
+    Seketeli, Alfred Mickautsch </li>
+  <li>Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw
+    (Kenneth Haley)</li>
+  <li>Unicode range checking (William Brack)</li>
+  <li>code cleanup (William Brack)</li>
+  <li>Python bindings: doc (John Fleck),  bug fixes</li>
+  <li>UTF-16 cleanup and BOM issues (William Brack)</li>
+  <li>bug fixes: ID and xmlReader validation, XPath (William Brack),
+    xmlWriter (Alfred Mickautsch), hash.h inclusion problem, HTML parser
+    (James Bursa), attribute defaulting and validation, some serialization
+    cleanups, XML_GET_LINE macro, memory debug when using threads (William
+    Brack), serialization of attributes and entities content, xmlWriter
+    (Daniel Schulman)</li>
+  <li>XInclude bugfix, new APIs and update to the last version including the
+    namespace change.</li>
+  <li>XML Schemas improvements: include (Robert Stepanek), import and
+    namespace handling, fixed the regression tests troubles, added examples
+    based on Eric van der Vlist book, regexp fixes </li>
+  <li>preliminary pattern support for streaming (needed for schemas
+    constraints), added xmlTextReaderPreservePattern() to collect subdocument
+    when streaming.</li>
+  <li>various fixes in the structured error handling</li>
 </ul><h3>2.6.2: Nov 4 2003</h3><ul><li>XPath context unregistration fixes</li>
   <li>text node coalescing fixes (Mark Lilback)</li>
   <li>API to screate a W3C Schemas from an existing document (Steve Ball)</li>
@@ -20,7 +44,7 @@
   <li>compilation fixes (Mark Vakoc)</li>
   <li>stdin parsing fix (William Brack)</li>
   <li>a posteriori DTD validation fixes</li>
-  <li>xmlReader bug fixes: Walker fixes, python bindings </li>
+  <li>xmlReader bug fixes: Walker fixes, python bindings</li>
   <li>fixed xmlStopParser() to really stop the parser and errors</li>
   <li>always generate line numbers when using the new xmlReadxxx
   functions</li>
diff --git a/doc/xml.html b/doc/xml.html
index cb1e2a4..63c99a2 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -386,7 +386,8 @@
     <ul>
       <li>check more deeply the <a href="html/libxml-lib.html">existing
         generated doc</a></li>
-      <li>have a look at <a href="examples/index.html">the set of examples</a>.
+      <li>have a look at <a href="examples/index.html">the set of
+        examples</a>.</li>
       <li>look for examples of use for libxml2 function using the Gnome code.
         For example the following will query the full Gnome CVS base for the
         use of the <strong>xmlAddChild()</strong> function:
@@ -396,8 +397,8 @@
         could cure this :-)</p>
       </li>
       <li><a
-        href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Browse the libxml2 source</a> , I try to write code as clean and
-	documented
+        href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Browse
+        the libxml2 source</a> , I try to write code as clean and documented
         as possible, so looking at it may be helpful. In particular the code
         of xmllint.c and of the various testXXX.c test programs should
         provide good examples of how to do things with the library.</li>
@@ -464,7 +465,7 @@
     internationalization support</a>.</li>
   <li>This page provides a global overview and <a href="example.html">some
     examples</a> on how to use libxml.</li>
-  <li><a href="examples/index.html">Code examples</a></li> 
+  <li><a href="examples/index.html">Code examples</a></li>
   <li>John Fleck's libxml2 tutorial: <a href="tutorial/index.html">html</a>
     or <a href="tutorial/xmltutorial.pdf">pdf</a>.</li>
   <li>If you need to parse large files, check the <a
@@ -472,7 +473,7 @@
   <li><a href="mailto:james@daa.com.au">James Henstridge</a> wrote <a
     href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">some nice
     documentation</a> explaining how to use the libxml SAX interface.</li>
-<li>George Lebl wrote <a
+  <li>George Lebl wrote <a
     href="http://www-106.ibm.com/developerworks/library/l-gnome3/">an article
     for IBM developerWorks</a> about using libxml.</li>
   <li>Check <a href="http://cvs.gnome.org/lxr/source/gnome-xml/TODO">the TODO
@@ -661,6 +662,34 @@
   Schemas</a></li>
 </ul>
 
+<h3>2.6.3: Dec 10 2003</h3>
+<ul>
+  <li>documentation updates and cleanup (DV, William Brack, John Fleck)</li>
+  <li>added a repository of examples, examples from Aleksey Sanin, Dodji
+    Seketeli, Alfred Mickautsch </li>
+  <li>Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw
+    (Kenneth Haley)</li>
+  <li>Unicode range checking (William Brack)</li>
+  <li>code cleanup (William Brack)</li>
+  <li>Python bindings: doc (John Fleck),  bug fixes</li>
+  <li>UTF-16 cleanup and BOM issues (William Brack)</li>
+  <li>bug fixes: ID and xmlReader validation, XPath (William Brack),
+    xmlWriter (Alfred Mickautsch), hash.h inclusion problem, HTML parser
+    (James Bursa), attribute defaulting and validation, some serialization
+    cleanups, XML_GET_LINE macro, memory debug when using threads (William
+    Brack), serialization of attributes and entities content, xmlWriter
+    (Daniel Schulman)</li>
+  <li>XInclude bugfix, new APIs and update to the last version including the
+    namespace change.</li>
+  <li>XML Schemas improvements: include (Robert Stepanek), import and
+    namespace handling, fixed the regression tests troubles, added examples
+    based on Eric van der Vlist book, regexp fixes </li>
+  <li>preliminary pattern support for streaming (needed for schemas
+    constraints), added xmlTextReaderPreservePattern() to collect subdocument
+    when streaming.</li>
+  <li>various fixes in the structured error handling</li>
+</ul>
+
 <h3>2.6.2: Nov 4 2003</h3>
 <ul>
   <li>XPath context unregistration fixes</li>
@@ -671,7 +700,7 @@
   <li>compilation fixes (Mark Vakoc)</li>
   <li>stdin parsing fix (William Brack)</li>
   <li>a posteriori DTD validation fixes</li>
-  <li>xmlReader bug fixes: Walker fixes, python bindings </li>
+  <li>xmlReader bug fixes: Walker fixes, python bindings</li>
   <li>fixed xmlStopParser() to really stop the parser and errors</li>
   <li>always generate line numbers when using the new xmlReadxxx
   functions</li>
diff --git a/include/libxml/Makefile.am b/include/libxml/Makefile.am
index b6e9d47..081198b 100644
--- a/include/libxml/Makefile.am
+++ b/include/libxml/Makefile.am
@@ -44,7 +44,8 @@
 		SAX2.h \
 		xmlexports.h \
 		xmlwriter.h \
-		chvalid.h
+		chvalid.h \
+		pattern.h
 
 install-exec-hook:
 	$(mkinstalldirs) $(DESTDIR)$(xmlincdir)
diff --git a/libxml.spec.in b/libxml.spec.in
index 5f50a99..24a70d0 100644
--- a/libxml.spec.in
+++ b/libxml.spec.in
@@ -62,6 +62,7 @@
 %build
 %configure
 make
+(cd doc/examples ; make clean)
 
 %install
 rm -fr %{buildroot}