diff --git a/ChangeLog b/ChangeLog index 8bfc2cfa..5f5d9a7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Jun 12 18:17:28 CEST 2007 Daniel Veillard + + * doc/* configure.in NEWS: release of libxml2 2.6.28 + * valid.c: patch from Dagfinn I. Mannsåker for idness of name + in HTML, c.f. bug #305885. + Tue Jun 12 17:14:08 CEST 2007 Daniel Veillard * SAX2.c: fixing bug #319964, parsing of HTML attribute really diff --git a/NEWS b/NEWS index fa7ae09f..0bad1775 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,32 @@ ChangeLog.html to the SVN at http://svn.gnome.org/viewcvs/libxml2/trunk/ code base.Here is the list of public releases: +2.6.29: Jun 12 2007: + - Portability: patches from Andreas Stricke for WinCEi, + fix compilation warnings (William Brack), avoid warnings on Apple OS/X + (Wendy Doyle and Mark Rowe), Windows compilation and threading + improvements (Rob Richards), compilation against old Python versions, + new GNU tar changes (Ryan Hill) + - Documentation: xmlURIUnescapeString comment, + - Bugfixes: xmlBufferAdd problem (Richard Jones), 'make valgrind' + flag fix (Richard Jones), regexp interpretation of \, + htmlCreateDocParserCtxt (Jean-Daniel Dupas), configure.in + typo (Bjorn Reese), entity content failure, xmlListAppend() fix + (Georges-André Silber), XPath number serialization (William Brack), + nanohttp gzipped stream fix (William Brack and Alex Cornejo), + xmlCharEncFirstLine typo (Mark Rowe), uri bug (François Delyon), + XPath string value of PI nodes (William Brack), XPath node set + sorting bugs (William Brack), avoid outputting namespace decl + dups in the writer (Rob Richards), xmlCtxtReset bug, UTF-8 encoding + error handling, recustion on next in catalogs, fix a Relax-NG crash, + workaround wrong file: URIs, htmlNodeDumpFormatOutput on attributes, + invalid character in attribute detection bug, big comments before + internal subset streaming bug, HTML parsing of attributes with : in + the name + - Improvement: keep URI query parts in raw form (Richard Jones), + embed tag support in HTML (Michael Day) + + 2.6.28: Apr 17 2007: - Documentation: comment fixes (Markus Keim), xpath comments fixes too (James Dennett) diff --git a/configure.in b/configure.in index 42476a4b..866df626 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_CANONICAL_HOST LIBXML_MAJOR_VERSION=2 LIBXML_MINOR_VERSION=6 -LIBXML_MICRO_VERSION=28 +LIBXML_MICRO_VERSION=29 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/APIchunk10.html b/doc/APIchunk10.html index c55e04a0..38a66608 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -453,7 +453,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserHandlePEReference
appearing
xmlValidatePopElement
xmlValidatePushElement
-
appears
xmlExpGetStart
+
appears
_xmlURI
+xmlExpGetStart
xmlParseCharData
xmlParseElementChildrenContentDecl
xmlParseEntityRef
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html index fb3ad798..daaf7ce5 100644 --- a/doc/APIchunk12.html +++ b/doc/APIchunk12.html @@ -124,6 +124,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlLoadCatalogs
category
xmlUCSIsCat
cause
xmlShellPrintXPathError
+
caution
_xmlURI
cdata-section-
xmlStreamPushNode
xmlStreamWantsAnyNode
ceiling
xmlXPathCeilingFunction
@@ -222,7 +223,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseElementMixedContentDecl
xmlReconciliateNs
xmlURIEscape
-xmlURIUnescapeString
xmlValidateAttributeDecl
xmlValidateDocument
xmlValidateDocumentFinal
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index 834cde1a..c0be6273 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -232,6 +232,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNotEqualValues
deprecated
LIBXML_LEGACY_ENABLED
_htmlElemDesc
+_xmlURI
htmlAttrAllowed
htmlElementAllowedHere
htmlElementStatusHere
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html index a965455e..d853a75d 100644 --- a/doc/APIchunk24.html +++ b/doc/APIchunk24.html @@ -56,6 +56,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReplaceNode
xmlStrEqual
xmlStrncatNew
+xmlURIUnescapeString
xmlXPathCmpNodes
xmlXPathIdFunction
xmlXPathLangFunction
@@ -393,6 +394,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSkipBlankChars
slot
xmlXPathContextSetCache
slots
xmlXPathContextSetCache
+
smaller
xmlURIUnescapeString
smallest
xmlXPathCeilingFunction
socket
xmlCheckFilename
xmlNanoFTPGetSocket
diff --git a/doc/APIchunk26.html b/doc/APIchunk26.html index 56065552..e5b01d02 100644 --- a/doc/APIchunk26.html +++ b/doc/APIchunk26.html @@ -240,7 +240,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserValidityWarning
xmlTextReaderIsValid
xmlURIEscape
-xmlURIUnescapeString
xmlValidGetValidElements
xmlValidateDocumentFinal
xmlValidateNotationDecl
diff --git a/doc/APIchunk5.html b/doc/APIchunk5.html index 9a6b23f6..8bd78ca2 100644 --- a/doc/APIchunk5.html +++ b/doc/APIchunk5.html @@ -77,7 +77,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlOutputMatchCallback
xmlOutputOpenCallback
xmlOutputWriteCallback
-xmlURIUnescapeString
OutputBufferCreateFilenameFunc
xmlOutputBufferCreateFilenameDefault
Override
xmlGcMemSetup
xmlMemSetup
diff --git a/doc/APIfiles.html b/doc/APIfiles.html index 8a3f6d7b..208205f4 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -1242,6 +1242,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchematronValidityErrorFunc
xmlSchematronValidityWarningFunc

Module threads:

xmlCleanupThreads
+xmlDllMain
xmlFreeMutex
xmlFreeRMutex
xmlGetGlobalState
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html index bbfd1816..8d12650d 100644 --- a/doc/APIfunctions.html +++ b/doc/APIfunctions.html @@ -607,6 +607,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIsIdeographic
xmlIsPubidChar

Type unsigned long:

ftpListCallback
+xmlDllMain
xmlSchemaValidateListSimpleTypeFacet

Type unsigned long *:

xmlSchemaValidateLengthFacet
xmlSchemaValidateLengthFacetWhtsp
@@ -722,6 +723,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCtxtGetLastError
xmlCtxtReadIO
xmlCtxtResetLastError
+xmlDllMain
xmlFileClose
xmlFileRead
xmlFreeFunc
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index 4cfeef8c..2a647971 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -1891,6 +1891,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDictQLookup
xmlDictReference
xmlDictSize
+xmlDllMain
xmlDoValidityCheckingDefaultValue
xmlDoc
xmlDocCopyNode
diff --git a/doc/devhelp/libxml2-threads.html b/doc/devhelp/libxml2-threads.html index 66e5ba4c..3ce5f938 100644 --- a/doc/devhelp/libxml2-threads.html +++ b/doc/devhelp/libxml2-threads.html @@ -58,10 +58,11 @@ int xmlIsMainThread (void); void xmlRMutexUnlock (xmlRMutexPtr tok); xmlGlobalStatePtr xmlGetGlobalState (void); xmlMutexPtr xmlNewMutex (void); -void xmlRMutexLock (xmlRMutexPtr tok); -void xmlInitThreads (void); -void xmlUnlockLibrary (void); +int xmlDllMain (void * hinstDLL,
unsigned long fdwReason,
void * lpvReserved); void xmlFreeMutex (xmlMutexPtr tok); +void xmlUnlockLibrary (void); +void xmlInitThreads (void); +void xmlRMutexLock (xmlRMutexPtr tok);

@@ -93,6 +94,10 @@ The content of this structure is not made public by the API. +
+

xmlFreeMutex ()

void	xmlFreeMutex			(xmlMutexPtr tok)

xmlFreeMutex() is used to reclaim resources associated with a libxml2 token struct.

diff --git a/doc/devhelp/libxml2-uri.html b/doc/devhelp/libxml2-uri.html index 33f32fa4..c67dacf6 100644 --- a/doc/devhelp/libxml2-uri.html +++ b/doc/devhelp/libxml2-uri.html @@ -76,9 +76,10 @@ int xmlParseURIReference (xmlParseURIReference (
str:string to escape
list:exception list string of chars not to escape
Returns:a new escaped string or NULL in case of error.

+

Unescaping routine, but does not check that the string is an URI. The output is a direct unsigned char translation of %XX values (no encoding) Note that the length of the result can only be smaller or same size as the input string.

+
str:the string to unescape
len:the length in bytes to unescape (or <= 0 to indicate full string)
target:optional destination buffer
Returns:a copy of the string, but unescaped, will return NULL only in case of error

diff --git a/doc/devhelp/libxml2.devhelp b/doc/devhelp/libxml2.devhelp index 6a3841cd..a932cdfc 100644 --- a/doc/devhelp/libxml2.devhelp +++ b/doc/devhelp/libxml2.devhelp @@ -2193,6 +2193,7 @@ + diff --git a/doc/html/libxml-threads.html b/doc/html/libxml-threads.html index eebcf3cd..8bb2cbfd 100644 --- a/doc/html/libxml-threads.html +++ b/doc/html/libxml-threads.html @@ -17,6 +17,7 @@ The content of this structure is not made public by the API. The content of this structure is not made public by the API.
Typedef xmlRMutex * xmlRMutexPtr
 
void	xmlCleanupThreads		(void)
+
int	xmlDllMain			(void * hinstDLL, 
unsigned long fdwReason,
void * lpvReserved)
void	xmlFreeMutex			(xmlMutexPtr tok)
void	xmlFreeRMutex			(xmlRMutexPtr tok)
xmlGlobalStatePtr	xmlGetGlobalState	(void)
@@ -38,7 +39,9 @@ The content of this structure is not made public by the API. The content of this structure is not made public by the API. }

Function: xmlCleanupThreads

void	xmlCleanupThreads		(void)

xmlCleanupThreads() is used to to cleanup all the thread related data of the libxml2 library once processing has ended.

-

Function: xmlFreeMutex

void	xmlFreeMutex			(xmlMutexPtr tok)
+

Function: xmlDllMain

int	xmlDllMain			(void * hinstDLL, 
unsigned long fdwReason,
void * lpvReserved)
+

+
hinstDLL:
fdwReason:
lpvReserved:
Returns:

Function: xmlFreeMutex

void	xmlFreeMutex			(xmlMutexPtr tok)

xmlFreeMutex() is used to reclaim resources associated with a libxml2 token struct.

tok:the simple mutex

Function: xmlFreeRMutex

void	xmlFreeRMutex			(xmlRMutexPtr tok)

xmlRFreeMutex() is used to reclaim resources associated with a reentrant mutex.

diff --git a/doc/html/libxml-uri.html b/doc/html/libxml-uri.html index fa7ee19d..1c668e8d 100644 --- a/doc/html/libxml-uri.html +++ b/doc/html/libxml-uri.html @@ -36,9 +36,10 @@ A:link, A:visited, A:active { text-decoration: underline } char * user : the user part int port : the port number char * path : the path string - char * query : the query string + char * query : the query string (deprecated - use with char * fragment : the fragment identifier int cleanup : parsing potentially unclean URI + char * query_raw : the query string (as it appears in the }

Function: xmlBuildRelativeURI

xmlChar *	xmlBuildRelativeURI	(const xmlChar * URI, 
const xmlChar * base)

Expresses the URI of the reference in terms relative to the base. Some examples of this operation include: base = "http://site1.com/docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif pic1.gif http://site2.com/docs/pic1.gif http://site2.com/docs/pic1.gif base = "docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif http://site1.com/docs/pic1.gif Note: if the URI reference is really wierd or complicated, it may be worthwhile to first convert it into a "nice" one by calling xmlBuildURI (using 'base') before calling this routine, since this routine (for reasonable efficiency) assumes URI has already been through some validation.

URI:the URI reference under consideration
base:the base value
Returns:a new URI string (to be freed by the caller) or NULL in case error.

Function: xmlBuildURI

xmlChar *	xmlBuildURI		(const xmlChar * URI, 
const xmlChar * base)
@@ -68,5 +69,5 @@ A:link, A:visited, A:active { text-decoration: underline }
str:the string of the URI to escape
Returns:an copy of the string, but escaped 25 May 2001 Uses xmlParseURI and xmlURIEscapeStr to try to escape correctly according to RFC2396. - Carl Douglas

Function: xmlURIEscapeStr

xmlChar *	xmlURIEscapeStr		(const xmlChar * str, 
const xmlChar * list)

This routine escapes a string to hex, ignoring reserved characters (a-z) and the characters in the exception list.

str:string to escape
list:exception list string of chars not to escape
Returns:a new escaped string or NULL in case of error.

Function: xmlURIUnescapeString

char *	xmlURIUnescapeString		(const char * str, 
int len,
char * target)
-

Unescaping routine, does not do validity checks ! Output is direct unsigned char translation of %XX values (no encoding)

-
str:the string to unescape
len:the length in bytes to unescape (or <= 0 to indicate full string)
target:optional destination buffer
Returns:an copy of the string, but unescaped

Daniel Veillard

+

Unescaping routine, but does not check that the string is an URI. The output is a direct unsigned char translation of %XX values (no encoding) Note that the length of the result can only be smaller or same size as the input string.

+
str:the string to unescape
len:the length in bytes to unescape (or <= 0 to indicate full string)
target:optional destination buffer
Returns:a copy of the string, but unescaped, will return NULL only in case of error

Daniel Veillard

diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index a7a8d56b..4e031bc9 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -1371,10 +1371,11 @@ - - - + + + + interfaces for tree manipulation @@ -6643,9 +6644,10 @@ Could we use @subtypes for this?'/> - + + @@ -9299,6 +9301,13 @@ Could we use @subtypes for this?'/> + + + + + + + Do a copy of the node to a given document. @@ -16511,8 +16520,8 @@ Could we use @subtypes for this?'/> - Unescaping routine, does not do validity checks ! Output is direct unsigned char translation of %XX values (no encoding) - + Unescaping routine, but does not check that the string is an URI. The output is a direct unsigned char translation of %XX values (no encoding) Note that the length of the result can only be smaller or same size as the input string. + diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index 91dc3b4a..c20fc4e1 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -1885,6 +1885,7 @@ + @@ -5431,6 +5432,7 @@ + @@ -8473,6 +8475,7 @@ + @@ -8594,6 +8597,7 @@ + @@ -11763,6 +11767,7 @@ + @@ -16594,7 +16599,6 @@ - @@ -18943,6 +18947,7 @@ + @@ -19665,6 +19670,9 @@ + + + @@ -19796,7 +19804,6 @@ - @@ -21002,6 +21009,7 @@ + @@ -27405,6 +27413,7 @@ + @@ -27897,6 +27906,9 @@ + + + @@ -29525,7 +29537,6 @@ - diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa index 45afec60..81db327c 100644 --- a/doc/libxml2.xsa +++ b/doc/libxml2.xsa @@ -8,59 +8,32 @@ libxml2 - 2.6.27 - Oct 25 2006 + 2.6.28 + Apr 17 2007 http://xmlsoft.org/ - - 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 + - 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 diff --git a/doc/news.html b/doc/news.html index e05ab39a..3c4235ff 100644 --- a/doc/news.html +++ b/doc/news.html @@ -12,7 +12,30 @@ to help those

The change log describes the recents commits -to the SVN code base.

Here is the list of public releases:

2.6.28: Apr 17 2007

  • Documentation: comment fixes (Markus Keim), xpath comments fixes too +to the SVN code base.

    Here is the list of public releases:

    2.6.29: Jun 12 2007

    • Portability: patches from Andreas Stricke for WinCEi, + fix compilation warnings (William Brack), avoid warnings on Apple OS/X + (Wendy Doyle and Mark Rowe), Windows compilation and threading + improvements (Rob Richards), compilation against old Python versions, + new GNU tar changes (Ryan Hill)
    • +
    • Documentation: xmlURIUnescapeString comment,
    • +
    • Bugfixes: xmlBufferAdd problem (Richard Jones), 'make valgrind' + flag fix (Richard Jones), regexp interpretation of \, + htmlCreateDocParserCtxt (Jean-Daniel Dupas), configure.in + typo (Bjorn Reese), entity content failure, xmlListAppend() fix + (Georges-André Silber), XPath number serialization (William Brack), + nanohttp gzipped stream fix (William Brack and Alex Cornejo), + xmlCharEncFirstLine typo (Mark Rowe), uri bug (François Delyon), + XPath string value of PI nodes (William Brack), XPath node set + sorting bugs (William Brack), avoid outputting namespace decl + dups in the writer (Rob Richards), xmlCtxtReset bug, UTF-8 encoding + error handling, recustion on next in catalogs, fix a Relax-NG crash, + workaround wrong file: URIs, htmlNodeDumpFormatOutput on attributes, + invalid character in attribute detection bug, big comments before + internal subset streaming bug, HTML parsing of attributes with : in + the name
    • +
    • Improvement: keep URI query parts in raw form (Richard Jones), + embed tag support in HTML (Michael Day)
    • +

    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 diff --git a/doc/xml.html b/doc/xml.html index 4b016910..6db27c7a 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -739,6 +739,33 @@ to the SVN code base.<

      Here is the list of public releases:

      +

      2.6.29: Jun 12 2007

      +
        +
      • Portability: patches from Andreas Stricke for WinCEi, + fix compilation warnings (William Brack), avoid warnings on Apple OS/X + (Wendy Doyle and Mark Rowe), Windows compilation and threading + improvements (Rob Richards), compilation against old Python versions, + new GNU tar changes (Ryan Hill)
      • +
      • Documentation: xmlURIUnescapeString comment,
      • +
      • Bugfixes: xmlBufferAdd problem (Richard Jones), 'make valgrind' + flag fix (Richard Jones), regexp interpretation of \, + htmlCreateDocParserCtxt (Jean-Daniel Dupas), configure.in + typo (Bjorn Reese), entity content failure, xmlListAppend() fix + (Georges-André Silber), XPath number serialization (William Brack), + nanohttp gzipped stream fix (William Brack and Alex Cornejo), + xmlCharEncFirstLine typo (Mark Rowe), uri bug (François Delyon), + XPath string value of PI nodes (William Brack), XPath node set + sorting bugs (William Brack), avoid outputting namespace decl + dups in the writer (Rob Richards), xmlCtxtReset bug, UTF-8 encoding + error handling, recustion on next in catalogs, fix a Relax-NG crash, + workaround wrong file: URIs, htmlNodeDumpFormatOutput on attributes, + invalid character in attribute detection bug, big comments before + internal subset streaming bug, HTML parsing of attributes with : in + the name, IDness of name in HTML (Dagfinn I. Mannsåker)
      • +
      • Improvement: keep URI query parts in raw form (Richard Jones), + embed tag support in HTML (Michael Day)
      • +
      +

      2.6.28: Apr 17 2007

      • Documentation: comment fixes (Markus Keim), xpath comments fixes too diff --git a/valid.c b/valid.c index b035f621..2510b8d6 100644 --- a/valid.c +++ b/valid.c @@ -2724,7 +2724,7 @@ xmlIsID(xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr) { } else if (doc->type == XML_HTML_DOCUMENT_NODE) { if ((xmlStrEqual(BAD_CAST "id", attr->name)) || ((xmlStrEqual(BAD_CAST "name", attr->name)) && - ((elem == NULL) || (!xmlStrEqual(elem->name, BAD_CAST "input"))))) + ((elem == NULL) || (xmlStrEqual(elem->name, BAD_CAST "a"))))) return(1); return(0); } else if (elem == NULL) {