release of libxml2 2.6.28 Daniel

* doc/* configure.in NEWS: release of libxml2 2.6.28
Daniel

svn path=/trunk/; revision=3601
diff --git a/ChangeLog b/ChangeLog
index b6a6855..44bfd1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Apr 17 16:50:12 CEST 2007 Daniel Veillard <daniel@veillard.com>
+
+	* doc/* configure.in NEWS: release of libxml2 2.6.28
+
 Tue Apr 17 14:47:42 CEST 2007 Daniel Veillard <daniel@veillard.com>
 
 	* catalog.c libxml.h win32/wince/wincecompat.h win32/wince/wincecompat.c
diff --git a/NEWS b/NEWS
index aeea289..fa7ae09 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,32 @@
 to the SVN at 
 http://svn.gnome.org/viewcvs/libxml2/trunk/
  code base.Here is the list of public releases:
+2.6.28: Apr 17 2007:
+   - Documentation: comment fixes (Markus Keim), xpath comments fixes too
+      (James Dennett)
+   - Bug fixes: XPath bug (William Brack), HTML parser autoclose stack usage
+      (Usamah Malik), various regexp bug fixes (DV and William), path conversion
+      on Windows (Igor Zlatkovic), htmlCtxtReset fix (Michael Day), XPath
+      principal node of axis bug, HTML serialization of some codepoint
+      (Steven Rainwater), user data propagation in XInclude (Michael Day),
+      standalone and XML decl detection (Michael Day), Python id ouptut
+      for some id, fix the big python string memory leak, URI parsing fixes
+      (Stéphane Bidoul and William), long comments parsing bug (William),
+      concurrent threads initialization (Ted Phelps), invalid char
+      in text XInclude (William), XPath memory leak (William), tab in
+      python problems (Andreas Hanke), XPath node comparison error
+      (Oleg Paraschenko), cleanup patch for reader (Julien Reichel),
+      XML Schemas attribute group (William), HTML parsing problem (William),
+      fix char 0x2d in regexps (William), regexp quantifier range with
+      min occurs of 0 (William), HTML script/style parsing (Mike Day)
+   - Improvement: make xmlTextReaderSetup() public
+   - Compilation and postability: fix a missing include problem (William),
+      __ss_familly on AIX again (Björn Wiberg), compilation without zlib
+      (Michael Day), catalog patch for Win32 (Christian Ehrlicher),
+      Windows CE fixes (Andreas Stricke)
+   - Various CVS to SVN infrastructure changes
+
+
 2.6.27: Oct 25 2006:
    - Portability fixes: file names on windows (Roland Schwingel, 
       Emelyanov Alexey), windows compile fixup (Rob Richards), 
diff --git a/configure.in b/configure.in
index 5e7ca7b..c355498 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,7 @@
 
 LIBXML_MAJOR_VERSION=2
 LIBXML_MINOR_VERSION=6
-LIBXML_MICRO_VERSION=27
+LIBXML_MICRO_VERSION=28
 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/APIchunk12.html b/doc/APIchunk12.html
index b8a01b1..fb3ad79 100644
--- a/doc/APIchunk12.html
+++ b/doc/APIchunk12.html
@@ -679,6 +679,7 @@
 <a href="html/libxml-xmlwriter.html#xmlTextWriterWriteDTDExternalEntityContents">xmlTextWriterWriteDTDExternalEntityContents</a><br />
 </dd><dt>contentspec</dt><dd><a href="html/libxml-parserInternals.html#xmlParseElementContentDecl">xmlParseElementContentDecl</a><br />
 <a href="html/libxml-parserInternals.html#xmlParseElementDecl">xmlParseElementDecl</a><br />
+</dd><dt>context?</dt><dd><a href="html/libxml-xpath.html#_xmlXPathContext">_xmlXPathContext</a><br />
 </dd><dt>contexts</dt><dd><a href="html/libxml-tree.html#_xmlDOMWrapCtxt">_xmlDOMWrapCtxt</a><br />
 </dd><dt>contextual</dt><dd><a href="html/libxml-relaxng.html#xmlRelaxNGGetParserErrors">xmlRelaxNGGetParserErrors</a><br />
 <a href="html/libxml-relaxng.html#xmlRelaxNGSetParserErrors">xmlRelaxNGSetParserErrors</a><br />
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html
index 959a1b5..834cde1 100644
--- a/doc/APIchunk13.html
+++ b/doc/APIchunk13.html
@@ -374,6 +374,7 @@
 <a href="html/libxml-xmlregexp.html#xmlRegexpIsDeterminist">xmlRegexpIsDeterminist</a><br />
 </dd><dt>dict</dt><dd><a href="html/libxml-tree.html#_xmlDoc">_xmlDoc</a><br />
 </dd><dt>dictionary</dt><dd><a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br />
+<a href="html/libxml-xpath.html#_xmlXPathContext">_xmlXPathContext</a><br />
 <a href="html/libxml-dict.html#xmlDictCleanup">xmlDictCleanup</a><br />
 <a href="html/libxml-dict.html#xmlDictCreate">xmlDictCreate</a><br />
 <a href="html/libxml-dict.html#xmlDictCreateSub">xmlDictCreateSub</a><br />
@@ -384,7 +385,6 @@
 <a href="html/libxml-pattern.html#xmlStreamPushAttr">xmlStreamPushAttr</a><br />
 <a href="html/libxml-pattern.html#xmlStreamPushNode">xmlStreamPushNode</a><br />
 </dd><dt>dictionnary</dt><dd><a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br />
-<a href="html/libxml-xpath.html#_xmlXPathContext">_xmlXPathContext</a><br />
 <a href="html/libxml-dict.html#xmlDictCreate">xmlDictCreate</a><br />
 <a href="html/libxml-dict.html#xmlDictCreateSub">xmlDictCreateSub</a><br />
 <a href="html/libxml-dict.html#xmlDictExists">xmlDictExists</a><br />
diff --git a/doc/devhelp/libxml2-xpath.html b/doc/devhelp/libxml2-xpath.html
index 86b0cc2..8fdd51c 100644
--- a/doc/devhelp/libxml2-xpath.html
+++ b/doc/devhelp/libxml2-xpath.html
@@ -193,7 +193,7 @@
     void *	user	: function to free extra variables
     int	contextSize	: the context size
     int	proximityPosition	: the proximity position extra stuff for XPointer
-    int	xptr	: it this an XPointer context
+    int	xptr	: is this an XPointer context?
     <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a>	here	: for here()
     <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a>	origin	: for origin() the set of namespace declarations in scope for the expre
     <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a>	nsHash	: The namespaces hash table
@@ -205,12 +205,12 @@
     <a href="libxml2-xpath.html#xmlXPathFuncLookupFunc">xmlXPathFuncLookupFunc</a>	funcLookupFunc	: function lookup func
     void *	funcLookupData	: function lookup data temporary namespace lists kept for walking the n
     <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> *	tmpNsList	: Array of namespaces
-    int	tmpNsNr	: number of namespace in scope error reporting mechanism
+    int	tmpNsNr	: number of namespaces in scope error reporting mechanism
     void *	userData	: user specific data block
     <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a>	error	: the callback in case of errors
     <a href="libxml2-xmlerror.html#xmlError">xmlError</a>	lastError	: the last error
-    <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a>	debugNode	: the source node XSLT dictionnary
-    <a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a>	dict	: dictionnary if any
+    <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a>	debugNode	: the source node XSLT dictionary
+    <a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a>	dict	: dictionary if any
     int	flags	: flags to control compilation Cache for reusal of XPath objects
     void *	cache
 } xmlXPathContext;
diff --git a/doc/html/libxml-xpath.html b/doc/html/libxml-xpath.html
index 6aca3c3..19225da 100644
--- a/doc/html/libxml-xpath.html
+++ b/doc/html/libxml-xpath.html
@@ -122,7 +122,7 @@
     void *	user	: function to free extra variables
     int	contextSize	: the context size
     int	proximityPosition	: the proximity position extra stuff for
-    int	xptr	: it this an XPointer context
+    int	xptr	: is this an XPointer context?
     <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a>	here	: for here()
     <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a>	origin	: for origin() the set of namespace decla
     <a href="libxml-hash.html#xmlHashTablePtr">xmlHashTablePtr</a>	nsHash	: The namespaces hash table
@@ -134,12 +134,12 @@
     <a href="libxml-xpath.html#xmlXPathFuncLookupFunc">xmlXPathFuncLookupFunc</a>	funcLookupFunc	: function lookup func
     void *	funcLookupData	: function lookup data temporary namespac
     <a href="libxml-tree.html#xmlNsPtr">xmlNsPtr</a> *	tmpNsList	: Array of namespaces
-    int	tmpNsNr	: number of namespace in scope error repo
+    int	tmpNsNr	: number of namespaces in scope error rep
     void *	userData	: user specific data block
     <a href="libxml-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a>	error	: the callback in case of errors
     <a href="libxml-xmlerror.html#xmlError">xmlError</a>	lastError	: the last error
-    <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a>	debugNode	: the source node XSLT dictionnary
-    <a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a>	dict	: dictionnary if any
+    <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a>	debugNode	: the source node XSLT dictionary
+    <a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a>	dict	: dictionary if any
     int	flags	: flags to control compilation Cache for
     void *	cache
 }</pre><h3>Enum <a name="xmlXPathError" id="xmlXPathError">xmlXPathError</a></h3><pre class="programlisting">Enum xmlXPathError {
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml
index ae5b6a2..a7a8d56 100644
--- a/doc/libxml2-api.xml
+++ b/doc/libxml2-api.xml
@@ -6700,7 +6700,7 @@
       <field name='user' type='void *' info=' function to free extra variables'/>
       <field name='contextSize' type='int' info=' the context size'/>
       <field name='proximityPosition' type='int' info=' the proximity position extra stuff for XPointer'/>
-      <field name='xptr' type='int' info=' it this an XPointer context'/>
+      <field name='xptr' type='int' info=' is this an XPointer context?'/>
       <field name='here' type='xmlNodePtr' info=' for here()'/>
       <field name='origin' type='xmlNodePtr' info=' for origin() the set of namespace declarations in scope for the expression'/>
       <field name='nsHash' type='xmlHashTablePtr' info=' The namespaces hash table'/>
@@ -6712,12 +6712,12 @@
       <field name='funcLookupFunc' type='xmlXPathFuncLookupFunc' info=' function lookup func'/>
       <field name='funcLookupData' type='void *' info=' function lookup data temporary namespace lists kept for walking the namespace axis'/>
       <field name='tmpNsList' type='xmlNsPtr *' info=' Array of namespaces'/>
-      <field name='tmpNsNr' type='int' info=' number of namespace in scope error reporting mechanism'/>
+      <field name='tmpNsNr' type='int' info=' number of namespaces in scope error reporting mechanism'/>
       <field name='userData' type='void *' info=' user specific data block'/>
       <field name='error' type='xmlStructuredErrorFunc' info=' the callback in case of errors'/>
       <field name='lastError' type='xmlError' info=' the last error'/>
-      <field name='debugNode' type='xmlNodePtr' info=' the source node XSLT dictionnary'/>
-      <field name='dict' type='xmlDictPtr' info=' dictionnary if any'/>
+      <field name='debugNode' type='xmlNodePtr' info=' the source node XSLT dictionary'/>
+      <field name='dict' type='xmlDictPtr' info=' dictionary if any'/>
       <field name='flags' type='int' info=' flags to control compilation Cache for reusal of XPath objects'/>
       <field name='cache' type='void *' info=''/>
     </struct>
diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml
index 34a3737..91dc3b4 100644
--- a/doc/libxml2-refs.xml
+++ b/doc/libxml2-refs.xml
@@ -20464,6 +20464,9 @@
           <ref name='xmlParseElementContentDecl'/>
           <ref name='xmlParseElementDecl'/>
         </word>
+        <word name='context?'>
+          <ref name='_xmlXPathContext'/>
+        </word>
         <word name='contexts'>
           <ref name='_xmlDOMWrapCtxt'/>
         </word>
@@ -21197,6 +21200,7 @@
         </word>
         <word name='dictionary'>
           <ref name='_xmlParserCtxt'/>
+          <ref name='_xmlXPathContext'/>
           <ref name='xmlDictCleanup'/>
           <ref name='xmlDictCreate'/>
           <ref name='xmlDictCreateSub'/>
@@ -21209,7 +21213,6 @@
         </word>
         <word name='dictionnary'>
           <ref name='_xmlParserCtxt'/>
-          <ref name='_xmlXPathContext'/>
           <ref name='xmlDictCreate'/>
           <ref name='xmlDictCreateSub'/>
           <ref name='xmlDictExists'/>
diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa
index 341e126..45afec6 100644
--- a/doc/libxml2.xsa
+++ b/doc/libxml2.xsa
@@ -8,19 +8,59 @@
   </vendor>
   <product id="libxml2">
     <name>libxml2</name>
-    <version>2.6.26</version>
-    <last-release> Jun 6 2006</last-release>
+    <version>2.6.27</version>
+    <last-release> Oct 25 2006</last-release>
     <info-url>http://xmlsoft.org/</info-url>
-    <changes>   - portability fixes: Python detection (Joseph Sacco), compilation
-    error(William Brack and Graham Bennett), LynxOS patch (Olli Savia)
-   - bug fixes: encoding buffer problem, mix of code and data in
-    xmlIO.c(Kjartan Maraas), entities in XSD validation (Kasimier Buchcik),
-    variousXSD validation fixes (Kasimier), memory leak in pattern (Rob
-    Richards andKasimier), attribute with colon in name (Rob Richards), XPath
-    leak inerror reporting (Aleksey Sanin), XInclude text include of
-    selfdocument.
-   - improvements: Xpath optimizations (Kasimier), XPath object
-    cache(Kasimier)
+    <changes>   - Portability fixes: file names on windows (Roland Schwingel, 
+      Emelyanov Alexey), windows compile fixup (Rob Richards), 
+      AIX iconv() is apparently case sensitive
+   - improvements: Python XPath types mapping (Nic Ferrier), XPath optimization
+      (Kasimier), add xmlXPathCompiledEvalToBoolean (Kasimier), Python node
+      equality and comparison (Andreas Pakulat), xmlXPathCollectAndTest
+      improvememt (Kasimier), expose if library was compiled with zlib 
+      support (Andrew Nosenko), cache for xmlSchemaIDCMatcher structs
+      (Kasimier), xmlTextConcat should work with comments and PIs (Rob
+      Richards), export htmlNewParserCtxt needed by Michael Day, refactoring
+      of catalog entity loaders (Michael Day), add XPointer support to 
+      python bindings (Ross Reedstrom, Brian West and Stefan Anca), 
+      try to sort out most file path to URI conversions and xmlPathToUri,
+      add --html --memory case to xmllint
+   - building fix: fix --with-minimum (Felipe Contreras), VMS fix, 
+      const'ification of HTML parser structures (Matthias Clasen),
+      portability fix (Emelyanov Alexey), wget autodetection (Peter
+      Breitenlohner),  remove the build path recorded in the python
+      shared module, separate library flags for shared and static builds
+      (Mikhail Zabaluev), fix --with-minimum --with-sax1 builds, fix
+      --with-minimum --with-schemas builds
+   - bug fix: xmlGetNodePath fix (Kasimier), xmlDOMWrapAdoptNode and
+      attribute (Kasimier), crash when using the recover mode, 
+      xmlXPathEvalExpr problem (Kasimier), xmlXPathCompExprAdd bug (Kasimier),
+      missing destry in xmlFreeRMutex (Andrew Nosenko), XML Schemas fixes
+      (Kasimier), warning on entities processing, XHTML script and style
+      serialization (Kasimier), python generator for long types, bug in
+      xmlSchemaClearValidCtxt (Bertrand Fritsch), xmlSchemaXPathEvaluate
+      allocation bug (Marton Illes), error message end of line (Rob Richards),
+      fix attribute serialization in writer (Rob Richards), PHP4 DTD validation
+      crasher, parser safety patch (Ben Darnell), _private context propagation
+      when parsing entities (with Michael Day), fix entities behaviour when 
+      using SAX, URI to file path fix (Mikhail Zabaluev), disapearing validity
+      context, arg error in SAX callback (Mike Hommey), fix mixed-content
+      autodetect when using --noblanks, fix xmlIOParseDTD error handling,
+      fix bug in xmlSplitQName on special Names, fix Relax-NG element content
+      validation bug, fix xmlReconciliateNs bug, fix potential attribute 
+      XML parsing bug, fix line/column accounting in XML parser, chunking bug
+      in the HTML parser on script, try to detect obviously buggy HTML
+      meta encoding indications, bugs with encoding BOM and xmlSaveDoc, 
+      HTML entities in attributes parsing, HTML minimized attribute values,
+      htmlReadDoc and htmlReadIO were broken, error handling bug in
+      xmlXPathEvalExpression (Olaf Walkowiak), fix a problem in
+      htmlCtxtUseOptions, xmlNewInputFromFile could leak (Marius Konitzer),
+      bug on misformed SSD regexps (Christopher Boumenot)
+      
+   - documentation: warning about XML_PARSE_COMPACT (Kasimier Buchcik),
+      fix xmlXPathCastToString documentation, improve man pages for
+      xmllitn and xmlcatalog (Daniel Leidert), fixed comments of a few
+      functions
 
 </changes>
   </product>
diff --git a/doc/news.html b/doc/news.html
index 86f0204..e05ab39 100644
--- a/doc/news.html
+++ b/doc/news.html
@@ -12,7 +12,30 @@
   <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://svn.gnome.org/viewcvs/libxml2/trunk/">SVN</a> code base.</p><p>Here is the list of public releases:</p><h3>2.6.27: Oct 25 2006</h3><ul><li>Portability fixes: file names on windows (Roland Schwingel, 
+to the <a href="http://svn.gnome.org/viewcvs/libxml2/trunk/">SVN</a> code base.</p><p>Here is the list of public releases:</p><h3>2.6.28: Apr 17 2007</h3><ul><li>Documentation: comment fixes (Markus Keim), xpath comments fixes too
+      (James Dennett)</li>
+  <li>Bug fixes: XPath bug (William Brack), HTML parser autoclose stack usage
+      (Usamah Malik), various regexp bug fixes (DV and William), path conversion
+      on Windows (Igor Zlatkovic), htmlCtxtReset fix (Michael Day), XPath
+      principal node of axis bug, HTML serialization of some codepoint
+      (Steven Rainwater), user data propagation in XInclude (Michael Day),
+      standalone and XML decl detection (Michael Day), Python id ouptut
+      for some id, fix the big python string memory leak, URI parsing fixes
+      (Stéphane Bidoul and William), long comments parsing bug (William),
+      concurrent threads initialization (Ted Phelps), invalid char
+      in text XInclude (William), XPath memory leak (William), tab in
+      python problems (Andreas Hanke), XPath node comparison error
+      (Oleg Paraschenko), cleanup patch for reader (Julien Reichel),
+      XML Schemas attribute group (William), HTML parsing problem (William),
+      fix char 0x2d in regexps (William), regexp quantifier range with
+      min occurs of 0 (William), HTML script/style parsing (Mike Day)</li>
+  <li>Improvement: make xmlTextReaderSetup() public</li>
+  <li>Compilation and postability: fix a missing include problem (William),
+      __ss_familly on AIX again (Björn Wiberg), compilation without zlib
+      (Michael Day), catalog patch for Win32 (Christian Ehrlicher),
+      Windows CE fixes (Andreas Stricke)</li>
+  <li>Various CVS to SVN infrastructure changes</li>
+</ul><h3>2.6.27: Oct 25 2006</h3><ul><li>Portability fixes: file names on windows (Roland Schwingel, 
       Emelyanov Alexey), windows compile fixup (Rob Richards), 
       AIX iconv() is apparently case sensitive</li>
   <li>improvements: Python XPath types mapping (Nic Ferrier), XPath optimization
diff --git a/doc/xml.html b/doc/xml.html
index b9697aa..4b01691 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -739,6 +739,32 @@
 
 <p>Here is the list of public releases:</p>
 
+<h3>2.6.28: Apr 17 2007</h3>
+<ul>
+  <li>Documentation: comment fixes (Markus Keim), xpath comments fixes too
+      (James Dennett)</li>
+  <li>Bug fixes: XPath bug (William Brack), HTML parser autoclose stack usage
+      (Usamah Malik), various regexp bug fixes (DV and William), path conversion
+      on Windows (Igor Zlatkovic), htmlCtxtReset fix (Michael Day), XPath
+      principal node of axis bug, HTML serialization of some codepoint
+      (Steven Rainwater), user data propagation in XInclude (Michael Day),
+      standalone and XML decl detection (Michael Day), Python id ouptut
+      for some id, fix the big python string memory leak, URI parsing fixes
+      (Stéphane Bidoul and William), long comments parsing bug (William),
+      concurrent threads initialization (Ted Phelps), invalid char
+      in text XInclude (William), XPath memory leak (William), tab in
+      python problems (Andreas Hanke), XPath node comparison error
+      (Oleg Paraschenko), cleanup patch for reader (Julien Reichel),
+      XML Schemas attribute group (William), HTML parsing problem (William),
+      fix char 0x2d in regexps (William), regexp quantifier range with
+      min occurs of 0 (William), HTML script/style parsing (Mike Day)</li>
+  <li>Improvement: make xmlTextReaderSetup() public</li>
+  <li>Compilation and postability: fix a missing include problem (William),
+      __ss_familly on AIX again (Björn Wiberg), compilation without zlib
+      (Michael Day), catalog patch for Win32 (Christian Ehrlicher),
+      Windows CE fixes (Andreas Stricke)</li>
+  <li>Various CVS to SVN infrastructure changes</li>
+</ul>
 <h3>2.6.27: Oct 25 2006</h3>
 <ul>
   <li>Portability fixes: file names on windows (Roland Schwingel,