diff --git a/configure.in b/configure.in index 09d91189..7b8fd445 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_CANONICAL_HOST LIBXML_MAJOR_VERSION=2 LIBXML_MINOR_VERSION=7 -LIBXML_MICRO_VERSION=3 +LIBXML_MICRO_VERSION=4 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 2559bb5b..43c11a3a 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -322,8 +322,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGcMemSetup
xmlMemSetup
xmlParserInputDeallocate
-
allocator
ATTRIBUTE_ALLOC_SIZE
-DEBUG_MEMORY
+
allocator
DEBUG_MEMORY
+LIBXML_ATTR_ALLOC_SIZE
allocators
xmlGcMemGet
xmlGcMemSetup
allow
XML_SCHEMAS_ATTR_GLOBAL
diff --git a/doc/APIchunk11.html b/doc/APIchunk11.html index 99fce804..b77863c1 100644 --- a/doc/APIchunk11.html +++ b/doc/APIchunk11.html @@ -217,7 +217,8 @@ A:link, A:visited, A:active { text-decoration: underline }
breaking
xmlEncodeEntities
breaks
xmlCurrentChar
broke
XML_CAST_FPTR
-
broken
xmlParseBalancedChunkMemoryRecover
+
broken
xmlGetThreadId
+xmlParseBalancedChunkMemoryRecover
xmlTextReaderNormalization
buf
xmlSaveFileTo
xmlSaveFormatFileTo
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index 1dae5448..d1390ebe 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -522,6 +522,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCleanupParser
xmlCreateEntitiesTable
xmlFreeNode
+xmlGetThreadId
xmlInitCharEncodingHandlers
xmlKeepBlanksDefault
xmlNodeListGetRawString
diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html index 09b98a1f..5424f37a 100644 --- a/doc/APIchunk17.html +++ b/doc/APIchunk17.html @@ -211,7 +211,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNodeSetRemove
xmlXPtrLocationSetRemove
xmlXPtrNewRange
-
indicate
ATTRIBUTE_ALLOC_SIZE
+
indicate
LIBXML_ATTR_ALLOC_SIZE
LIBXML_ATTR_FORMAT
xmlParseExternalID
xmlParserInputGrow
@@ -439,7 +439,8 @@ A:link, A:visited, A:active { text-decoration: underline }
insufficient
xmlCanonicPath
xmlPathToURI
intact
xmlParseURIRaw
-
integer
xmlStrcasecmp
+
integer
xmlGetThreadId
+xmlStrcasecmp
xmlStrcmp
xmlStrncasecmp
xmlStrncmp
diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html index 4bcefef6..d9444ad7 100644 --- a/doc/APIchunk18.html +++ b/doc/APIchunk18.html @@ -290,6 +290,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderNormalization
xmlValidityErrorFunc
xmlValidityWarningFunc
+
likely
xmlGetThreadId
limit
xmlCharEncFirstLine
xmlDecodeEntities
xmlPatternMaxDepth
diff --git a/doc/APIchunk19.html b/doc/APIchunk19.html index a2afa275..51645b10 100644 --- a/doc/APIchunk19.html +++ b/doc/APIchunk19.html @@ -73,6 +73,7 @@ A:link, A:visited, A:active { text-decoration: underline }
manage
xmlBufferWriteChar
xmlBufferWriteQuotedString
manages
xmlBufferWriteCHAR
+
mandate
xmlGetThreadId
manipulated
xmlNewRMutex
manipulating
xmlExpNewCtxt
xmlLoadSGMLSuperCatalog
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html index f6501fbe..7a647dd0 100644 --- a/doc/APIchunk22.html +++ b/doc/APIchunk22.html @@ -174,6 +174,7 @@ A:link, A:visited, A:active { text-decoration: underline }
places
xmlMemDisplayLast
xmlStrPrintf
xmlStrVPrintf
+
platforms
xmlGetThreadId
plug
xmlXPathFuncLookupFunc
xmlXPathVariableLookupFunc
plugin
xmlCleanupParser
@@ -524,6 +525,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNanoHTTPInit
xmlNanoHTTPScanProxy
prune
xmlReplaceNode
+
pthread_t
xmlGetThreadId
+
pthreads
xmlGetThreadId
publicID
xmlParseExternalID
pull
xmlParserInputBufferGrow
pure
xmlParseCDSect
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html index f4d8bfa1..0d1045ba 100644 --- a/doc/APIchunk24.html +++ b/doc/APIchunk24.html @@ -423,6 +423,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCleanupParser
xmlCleanupThreads
xmlGcMemSetup
+xmlGetThreadId
xmlHandleEntity
xmlMemSetup
xmlParseAttributeType
@@ -537,6 +538,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseNamespace
xmlSchemaIsBuiltInTypeFacet
specification
XML_XML_NAMESPACE
+xmlGetThreadId
xmlTextReaderNormalization
specifications
xmlParseSDDecl
specify
XML_SCHEMAS_TYPE_BLOCK_DEFAULT
diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html index bf67fcbd..4e8cb30b 100644 --- a/doc/APIchunk3.html +++ b/doc/APIchunk3.html @@ -126,8 +126,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSetStructuredErrorFunc
xmlXPathFunctionLookup
xmlXPathFunctionLookupNS
-

Letter G:

GCC
ATTRIBUTE_ALLOC_SIZE
-ATTRIBUTE_UNUSED
+

Letter G:

GCC
ATTRIBUTE_UNUSED
+LIBXML_ATTR_ALLOC_SIZE
LIBXML_ATTR_FORMAT
GEDecl
xmlParseEntityDecl
GET
xmlNanoHTTPFetch
diff --git a/doc/APIfiles.html b/doc/APIfiles.html index c4b84015..22b7bea5 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -3131,9 +3131,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlUCSIsYiRadicals
xmlUCSIsYiSyllables
xmlUCSIsYijingHexagramSymbols
-

Module xmlversion:

ATTRIBUTE_ALLOC_SIZE
-ATTRIBUTE_UNUSED
+

Module xmlversion:

ATTRIBUTE_UNUSED
DEBUG_MEMORY_LOCATION
+LIBXML_ATTR_ALLOC_SIZE
LIBXML_ATTR_FORMAT
LIBXML_AUTOMATA_ENABLED
LIBXML_C14N_ENABLED
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index 091ee6ce..e2d4d0dd 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -7,8 +7,7 @@ H1 {font-family: Verdana,Arial,Helvetica} H2 {font-family: Verdana,Arial,Helvetica} H3 {font-family: Verdana,Arial,Helvetica} A:link, A:visited, A:active { text-decoration: underline } -Alphabetic List of Symbols in libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

The XML C parser and toolkit of Gnome

Alphabetic List of Symbols in libxml2

Developer Menu
API Indexes
Related links

Letter A:

ATTRIBUTE_ALLOC_SIZE
-ATTRIBUTE_UNUSED
+Alphabetic List of Symbols in libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

The XML C parser and toolkit of Gnome

Alphabetic List of Symbols in libxml2

Developer Menu
API Indexes
Related links

Letter A:

ATTRIBUTE_UNUSED

Letter B:

BAD_CAST
BASE_BUFFER_SIZE

Letter C:

CAST_TO_BOOLEAN
@@ -58,7 +57,8 @@ A:link, A:visited, A:active { text-decoration: underline } IS_LETTER_CH
IS_PUBIDCHAR
IS_PUBIDCHAR_CH
-

Letter L:

LIBXML_ATTR_FORMAT
+

Letter L:

LIBXML_ATTR_ALLOC_SIZE
+LIBXML_ATTR_FORMAT
LIBXML_AUTOMATA_ENABLED
LIBXML_C14N_ENABLED
LIBXML_CATALOG_ENABLED
diff --git a/doc/apibuild.py b/doc/apibuild.py index 2936d784..5bfe68fa 100755 --- a/doc/apibuild.py +++ b/doc/apibuild.py @@ -75,6 +75,7 @@ ignored_words = { "ATTRIBUTE_ALLOC_SIZE": (3, "macro for gcc checking extension"), "ATTRIBUTE_PRINTF": (5, "macro for gcc printf args checking extension"), "LIBXML_ATTR_FORMAT": (5, "macro for gcc printf args checking extension"), + "LIBXML_ATTR_ALLOC_SIZE": (3, "macro for gcc checking extension"), } def escape(raw): diff --git a/doc/devhelp/libxml2-threads.html b/doc/devhelp/libxml2-threads.html index d7b62b5b..0ddd0bcf 100644 --- a/doc/devhelp/libxml2-threads.html +++ b/doc/devhelp/libxml2-threads.html @@ -112,7 +112,7 @@ The content of this structure is not made public by the API.

Returns:the thread global state or NULL in case of error


xmlInitThreads ()

void	xmlInitThreads			(void)
diff --git a/doc/devhelp/libxml2-xmlversion.html b/doc/devhelp/libxml2-xmlversion.html index 4b57b46f..8e9dc3d7 100644 --- a/doc/devhelp/libxml2-xmlversion.html +++ b/doc/devhelp/libxml2-xmlversion.html @@ -66,16 +66,16 @@ #define
LIBXML_XPTR_ENABLED; #define LIBXML_VERSION_STRING; #define LIBXML_CATALOG_ENABLED; +#define LIBXML_ATTR_ALLOC_SIZE; #define LIBXML_REGEXP_ENABLED; #define LIBXML_MODULE_EXTENSION; #define LIBXML_ICONV_ENABLED; #define LIBXML_HTML_ENABLED; -#define LIBXML_WRITER_ENABLED; #define LIBXML_UNICODE_ENABLED; #define LIBXML_FTP_ENABLED; #define LIBXML_AUTOMATA_ENABLED; #define LIBXML_ZLIB_ENABLED; -#define ATTRIBUTE_ALLOC_SIZE; +#define LIBXML_WRITER_ENABLED; #define LIBXML_C14N_ENABLED; #define LIBXML_SCHEMAS_ENABLED; #define DEBUG_MEMORY_LOCATION; @@ -95,16 +95,16 @@ void xmlCheckVersion (int version);

Details

-

Macro ATTRIBUTE_ALLOC_SIZE

#define ATTRIBUTE_ALLOC_SIZE;
-

Macro used to indicate to GCC this is an allocator function

-
-

Macro ATTRIBUTE_UNUSED

#define ATTRIBUTE_UNUSED;
 

Macro used to signal to GCC unused function parameters


Macro DEBUG_MEMORY_LOCATION

#define DEBUG_MEMORY_LOCATION;
 

Whether the memory debugging is configured in

+
+
+

Macro LIBXML_ATTR_ALLOC_SIZE

#define LIBXML_ATTR_ALLOC_SIZE;
+

Macro used to indicate to GCC this is an allocator function


Macro LIBXML_ATTR_FORMAT

#define LIBXML_ATTR_FORMAT;
diff --git a/doc/devhelp/libxml2.devhelp b/doc/devhelp/libxml2.devhelp
index cf2f99f7..81529794 100644
--- a/doc/devhelp/libxml2.devhelp
+++ b/doc/devhelp/libxml2.devhelp
@@ -52,7 +52,6 @@
     
   
   
-    
     
     
     
@@ -91,6 +90,7 @@
     
     
     
+    
     
     
     
diff --git a/doc/encoding.html b/doc/encoding.html
index 1e3f0cc0..387f6f36 100644
--- a/doc/encoding.html
+++ b/doc/encoding.html
@@ -33,7 +33,7 @@ allows the document to be encoded in other encodings at the condition that
 they are clearly labeled as such. For example the following is a wellformed
 XML document encoded in ISO-8859-1 and using accentuated letters that we
 French like for both markup and content:

<?xml version="1.0" encoding="ISO-8859-1"?>
-<très>là</très>

Having internationalization support in libxml2 means the following:

  • the document is properly parsed
  • +<très>là</très>

Having internationalization support in libxml2 means the following:

  • the document is properly parsed
  • information about it's encoding is saved
  • it can be modified
  • it can be saved in its original encoding
  • @@ -51,7 +51,7 @@ an internationalized fashion by libxml2 too:

    <!DOCTYPE HTML PUBLIC "-
       <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
     </head>
     <body>
    -<p>W3C crée des standards pour le Web.</body>
    +<p>W3C crée des standards pour le Web.</body>
     </html>

    The internal encoding, how and why

    One of the core decisions was to force all documents to be converted to a default internal encoding, and that encoding to be UTF-8, here are the rationales for those choices:

    • keeping the native encoding in the internal form would force the libxml @@ -107,10 +107,10 @@ sequence:

      1. when a document is processed, we usually don't know the enc You may end-up with a garbled document, or no document at all ! Example:
        ~/XML -> ./xmllint err.xml 
         err.xml:1: error: Input is not proper UTF-8, indicate encoding !
        -<très>là</très>
        +<très>là</très>
            ^
         err.xml:1: error: Bytes: 0xE8 0x73 0x3E 0x6C
        -<très>là</très>
        +<très>là</très>
            ^
      2. xmlSwitchEncoding() does an encoding name lookup, canonicalize it, and @@ -163,10 +163,10 @@ encoding:

        1. if no encoding is given, libxml2 will look for an encoding portability is really crucial

        Here are a few examples based on the same test document:

        ~/XML -> ./xmllint isolat1 
         <?xml version="1.0" encoding="ISO-8859-1"?>
        -<très>là</très>
        +<très>là</très>
         ~/XML -> ./xmllint --encode UTF-8 isolat1 
         <?xml version="1.0" encoding="UTF-8"?>
        -<très>là  </très>
        +<très>là  </très>
         ~/XML -> 

        The same processing is applied (and reuse most of the code) for HTML I18N processing. Looking up and modifying the content encoding is a bit more difficult since it is located in a <meta> tag under the <head>, diff --git a/doc/html/libxml-threads.html b/doc/html/libxml-threads.html index fd4e79af..812336ec 100644 --- a/doc/html/libxml-threads.html +++ b/doc/html/libxml-threads.html @@ -48,7 +48,7 @@ The content of this structure is not made public by the API.

        tok:the reentrant mutex

        Function: xmlGetGlobalState

        xmlGlobalStatePtr	xmlGetGlobalState	(void)

        xmlGetGlobalState() is called to retrieve the global state for a thread.

        Returns:the thread global state or NULL in case of error

        Function: xmlGetThreadId

        int	xmlGetThreadId			(void)
        -

        xmlGetThreadId() find the current thread ID number

        +

xmlGetThreadId() find the current thread ID number Note that this is likely to be broken on some platforms using pthreads as the specification doesn't mandate pthread_t to be an integer type

Returns:the current thread ID number

Function: xmlInitThreads

void	xmlInitThreads			(void)

xmlInitThreads() is used to to initialize all the thread related data of the libxml2 library.

Function: xmlIsMainThread

int	xmlIsMainThread			(void)
diff --git a/doc/html/libxml-xmlversion.html b/doc/html/libxml-xmlversion.html index 72bd7d50..65a6ef4e 100644 --- a/doc/html/libxml-xmlversion.html +++ b/doc/html/libxml-xmlversion.html @@ -10,11 +10,11 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlversion from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlversion from libxml2

API Menu
API Indexes
Related links

compile-time version informations for the XML library

Table of Contents

#define ATTRIBUTE_ALLOC_SIZE
#define ATTRIBUTE_UNUSED
#define DEBUG_MEMORY_LOCATION
#define LIBXML_ATTR_FORMAT
#define LIBXML_AUTOMATA_ENABLED
#define LIBXML_C14N_ENABLED
#define LIBXML_CATALOG_ENABLED
#define LIBXML_DEBUG_ENABLED
#define LIBXML_DEBUG_RUNTIME
#define LIBXML_DOCB_ENABLED
#define LIBXML_DOTTED_VERSION
#define LIBXML_EXPR_ENABLED
#define LIBXML_FTP_ENABLED
#define LIBXML_HTML_ENABLED
#define LIBXML_HTTP_ENABLED
#define LIBXML_ICONV_ENABLED
#define LIBXML_ISO8859X_ENABLED
#define LIBXML_LEGACY_ENABLED
#define LIBXML_MODULES_ENABLED
#define LIBXML_MODULE_EXTENSION
#define LIBXML_OUTPUT_ENABLED
#define LIBXML_PATTERN_ENABLED
#define LIBXML_PUSH_ENABLED
#define LIBXML_READER_ENABLED
#define LIBXML_REGEXP_ENABLED
#define LIBXML_SAX1_ENABLED
#define LIBXML_SCHEMAS_ENABLED
#define LIBXML_SCHEMATRON_ENABLED
#define LIBXML_TEST_VERSION
#define LIBXML_THREAD_ENABLED
#define LIBXML_TREE_ENABLED
#define LIBXML_UNICODE_ENABLED
#define LIBXML_VALID_ENABLED
#define LIBXML_VERSION
#define LIBXML_VERSION_EXTRA
#define LIBXML_VERSION_STRING
#define LIBXML_WRITER_ENABLED
#define LIBXML_XINCLUDE_ENABLED
#define LIBXML_XPATH_ENABLED
#define LIBXML_XPTR_ENABLED
#define LIBXML_ZLIB_ENABLED
#define WITHOUT_TRIO
#define WITH_TRIO
void	xmlCheckVersion			(int version)
+ Module xmlversion from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlversion from libxml2

API Menu
API Indexes
Related links

compile-time version informations for the XML library

Table of Contents

#define ATTRIBUTE_UNUSED
#define DEBUG_MEMORY_LOCATION
#define LIBXML_ATTR_ALLOC_SIZE
#define LIBXML_ATTR_FORMAT
#define LIBXML_AUTOMATA_ENABLED
#define LIBXML_C14N_ENABLED
#define LIBXML_CATALOG_ENABLED
#define LIBXML_DEBUG_ENABLED
#define LIBXML_DEBUG_RUNTIME
#define LIBXML_DOCB_ENABLED
#define LIBXML_DOTTED_VERSION
#define LIBXML_EXPR_ENABLED
#define LIBXML_FTP_ENABLED
#define LIBXML_HTML_ENABLED
#define LIBXML_HTTP_ENABLED
#define LIBXML_ICONV_ENABLED
#define LIBXML_ISO8859X_ENABLED
#define LIBXML_LEGACY_ENABLED
#define LIBXML_MODULES_ENABLED
#define LIBXML_MODULE_EXTENSION
#define LIBXML_OUTPUT_ENABLED
#define LIBXML_PATTERN_ENABLED
#define LIBXML_PUSH_ENABLED
#define LIBXML_READER_ENABLED
#define LIBXML_REGEXP_ENABLED
#define LIBXML_SAX1_ENABLED
#define LIBXML_SCHEMAS_ENABLED
#define LIBXML_SCHEMATRON_ENABLED
#define LIBXML_TEST_VERSION
#define LIBXML_THREAD_ENABLED
#define LIBXML_TREE_ENABLED
#define LIBXML_UNICODE_ENABLED
#define LIBXML_VALID_ENABLED
#define LIBXML_VERSION
#define LIBXML_VERSION_EXTRA
#define LIBXML_VERSION_STRING
#define LIBXML_WRITER_ENABLED
#define LIBXML_XINCLUDE_ENABLED
#define LIBXML_XPATH_ENABLED
#define LIBXML_XPTR_ENABLED
#define LIBXML_ZLIB_ENABLED
#define WITHOUT_TRIO
#define WITH_TRIO
void	xmlCheckVersion			(int version)

Description

-

Macro: ATTRIBUTE_ALLOC_SIZE

#define ATTRIBUTE_ALLOC_SIZE

Macro used to indicate to GCC this is an allocator function

Macro: ATTRIBUTE_UNUSED

#define ATTRIBUTE_UNUSED

Macro used to signal to GCC unused function parameters

Macro: DEBUG_MEMORY_LOCATION

#define DEBUG_MEMORY_LOCATION

Whether the memory debugging is configured in

+

Macro: LIBXML_ATTR_ALLOC_SIZE

#define LIBXML_ATTR_ALLOC_SIZE

Macro used to indicate to GCC this is an allocator function

Macro: LIBXML_ATTR_FORMAT

#define LIBXML_ATTR_FORMAT

Macro used to indicate to GCC the parameter are printf like

Macro: LIBXML_AUTOMATA_ENABLED

#define LIBXML_AUTOMATA_ENABLED

Whether the automata interfaces are compiled in

Macro: LIBXML_C14N_ENABLED

#define LIBXML_C14N_ENABLED

Whether the Canonicalization support is configured in

diff --git a/doc/index.html b/doc/index.html index 8fc074f6..5eeb33df 100644 --- a/doc/index.html +++ b/doc/index.html @@ -235,7 +235,7 @@ well-known markup language. Though the library is written in C http://www.w3.org/TR/REC-xml diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index c158d2a2..5cf19cb9 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -3364,16 +3364,16 @@ + - - + @@ -3774,9 +3774,6 @@ - - Macro used to indicate to GCC this is an allocator function - Macro used to signal to GCC unused function parameters @@ -3913,6 +3910,9 @@ Same as IS_PUBIDCHAR but for single-byte value + + Macro used to indicate to GCC this is an allocator function + Macro used to indicate to GCC the parameter are printf like @@ -10130,7 +10130,7 @@ Could we use @subtypes for this?'/> - xmlGetThreadId() find the current thread ID number + xmlGetThreadId() find the current thread ID number Note that this is likely to be broken on some platforms using pthreads as the specification doesn't mandate pthread_t to be an integer type diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index 3e54c5ca..368c612b 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -1,7 +1,6 @@ - @@ -52,6 +51,7 @@ + @@ -3534,7 +3534,6 @@ - @@ -3597,6 +3596,7 @@ + @@ -13805,9 +13805,9 @@ - + @@ -15776,8 +15776,8 @@ - + @@ -18910,8 +18910,8 @@ - + @@ -19652,6 +19652,7 @@ + @@ -21680,6 +21681,7 @@ + @@ -23721,7 +23723,7 @@ - + @@ -24033,6 +24035,7 @@ + @@ -24518,6 +24521,9 @@ + + + @@ -24776,6 +24782,9 @@ + + + @@ -26248,6 +26257,9 @@ + + + @@ -26780,6 +26792,12 @@ + + + + + + @@ -28280,6 +28298,7 @@ + @@ -28422,6 +28441,7 @@ + diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa index 73f12e3a..b9583f6a 100644 --- a/doc/libxml2.xsa +++ b/doc/libxml2.xsa @@ -8,17 +8,21 @@ libxml2 - 2.7.2 - Oct 3 2008 + 2.7.3 + Jan 18 2009 http://xmlsoft.org/ - - Portability fix: fix solaris compilation problem, fix compilation - if XPath is not configured in - - Bug fixes: nasty entity bug introduced in 2.7.0, restore old behaviour - when saving an HTML doc with an xml dump function, HTML UTF-8 parsing - bug, fix reader custom error handlers (Riccardo Scussat) - - - Improvement: xmlSave options for more flexibility to save as - XML/HTML/XHTML, handle leading BOM in HTML documents + - Build fix: fix build when HTML support is not included. + - Bug fixes: avoid memory overflow in gigantic text nodes, + indentation problem on the writed (Rob Richards), + xmlAddChildList pointer problem (Rob Richards and Kevin Milburn), + xmlAddChild problem with attribute (Rob Richards and Kris Breuker), + avoid a memory leak in an edge case (Daniel Zimmermann), + deallocate some pthread data (Alex Ott). + - Improvements: configure option to avoid rebuilding docs (Adrian Bunk), + limit text nodes to 10MB max by default, add element traversal + APIs, add a parser option to enable pre 2.7 SAX behavior (Rob Richards), + add gcc malloc checking (Marcus Meissner), add gcc printf like functions + parameters checking (Marcus Meissner). diff --git a/doc/news.html b/doc/news.html index f430d1a1..81e45f37 100644 --- a/doc/news.html +++ b/doc/news.html @@ -12,7 +12,127 @@ to help those

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

Here is the list of public releases:

2.7.3: Jan 18 2009

  • Build fix: fix build when HTML support is not included.
  • +to the SVN code base.

    Here is the list of public releases:

    2.7.4: Sep 10 2009

    • Improvements: + Switch to GIT (GNOME), + Add symbol versioning to libxml2 shared libs (Daniel Veillard) +
    • +
    • Portability: + 593857 try to work around thread pbm MinGW 4.4 (Daniel Veillard), + 594250 rename ATTRIBUTE_ALLOC_SIZE to avoid clashes (Daniel Veillard), + Fix Windows build * relaxng.c: fix windows build (Rob Richards), + Fix the globals.h to use XMLPUBFUN (Paul Smith), + Problem with extern extern in header (Daniel Veillard), + Add -lnetwork for compiling on Haiku (Scott McCreary), + Runtest portability patch for Solaris (Tim Rice), + Small patch to accomodate the Haiku OS (Scott McCreary), + 584605 package VxWorks folder in the distribution (Daniel Veillard), + 574017 Realloc too expensive on most platform (Daniel Veillard), + Fix windows build (Rob Richards), + 545579 doesn't compile without schema support (Daniel Veillard), + xmllint use xmlGetNodePath when not compiled in (Daniel Veillard), + Try to avoid __imp__xmlFree link trouble on msys (Daniel Veillard), + Allow to select the threading system on Windows (LRN), + Fix Solaris binary links, cleanups (Daniel Veillard), + Bug 571059 – MSVC doesn't work with the bakefile (Intron), + fix ATTRIBUTE_PRINTF header clash (Belgabor and Mike Hommey), + fixes for Borland/CodeGear/Embarcadero compilers (Eric Zurcher) +
    • +
    • Documentation: + 544910 typo: "renciliateNs" (Leonid Evdokimov), + Add VxWorks to list of OSes (Daniel Veillard), + Regenerate the documentation and update for git (Daniel Veillard), + 560524 ¿ xmlTextReaderLocalName description (Daniel Veillard), + Added sponsoring by AOE media for the server (Daniel Veillard), + updated URLs for GNOME (Vincent Lefevre), + more warnings about xmlCleanupThreads and xmlCleanupParser (Daniel Veillard) +
    • +
    • Bug fixes: + 594514 memory leaks - duplicate initialization (MOD), + Wrong block opening in htmlNodeDumpOutputInternal (Daniel Veillard), + 492317 Fix Relax-NG validation problems (Daniel Veillard), + 558452 fight with reg test and error report (Daniel Veillard), + 558452 RNG compilation of optional multiple child (Daniel Veillard), + 579746 XSD validation not correct / nilable groups (Daniel Veillard), + 502960 provide namespace stack when parsing entity (Daniel Veillard), + 566012 part 2 fix regresion tests and push mode (Daniel Veillard), + 566012 autodetected encoding and encoding conflict (Daniel Veillard), + 584220 xpointer(/) and xinclude problems (Daniel Veillard), + 587663 Incorrect Attribute-Value Normalization (Daniel Veillard), + 444994 HTML chunked failure for attribute with <> (Daniel Veillard), + Fix end of buffer char being split in XML parser (Daniel Veillard), + Non ASCII character may be split at buffer end (Adiel Mittmann), + 440226 Add xmlXIncludeProcessTreeFlagsData API (Stefan Behnel), + 572129 speed up parsing of large HTML text nodes (Markus Kull), + Fix HTML parsing with 0 character in CDATA (Daniel Veillard), + Fix SetGenericErrorFunc and SetStructured clash (Wang Lam), + 566012 Incomplete EBCDIC parsing support (Martin Kogler), + 541335 HTML avoid creating 2 head or 2 body element (Daniel Veillard), + 541237 error correcting missing end tags in HTML (Daniel Veillard), + 583439 missing line numbers in push mode (Daniel Veillard), + 587867 xmllint --html --xmlout serializing as HTML (Daniel Veillard), + 559501 avoid select and use poll for nanohttp (Raphael Prevost), + 559410 - Regexp bug on (...)? constructs (Daniel Veillard), + Fix a small problem on previous HTML parser patch (Daniel Veillard), + 592430 - HTML parser runs into endless loop (Daniel Veillard), + 447899 potential double free in xmlFreeTextReader (Daniel Veillard), + 446613 small validation bug mixed content with NS (Daniel Veillard), + Fix the problem of revalidating a doc with RNG (Daniel Veillard), + Fix xmlKeepBlanksDefault to not break indent (Nick Wellnhofer), + 512131 refs from externalRef part need to be added (Daniel Veillard), + 512131 crash in xmlRelaxNGValidateFullElement (Daniel Veillard), + 588441 allow '.' in HTML Names even if invalid (Daniel Veillard), + 582913 Fix htmlSetMetaEncoding() to be nicer (Daniel Veillard), + 579317 Try to find the HTML encoding information (Daniel Veillard), + 575875 don't output charset=html (Daniel Veillard), + 571271 fix semantic of xsd:all with minOccurs=0 (Daniel Veillard), + 570702 fix a bug in regexp determinism checking (Daniel Veillard), + 567619 xmlValidateNotationUse missing param test (Daniel Veillard), + 574393 ¿ utf-8 filename magic for compressed files (Hans Breuer), + Fix a couple of problems in the parser (Daniel Veillard), + 585505 ¿ Document ids and refs populated by XSD (Wayne Jensen), + 582906 XSD validating multiple imports of the same schema (Jason Childs), + Bug 582887 ¿ problems validating complex schemas (Jason Childs), + Bug 579729 ¿ fix XSD schemas parsing crash (Miroslav Bajtos), + 576368 ¿ htmlChunkParser with special attributes (Jiri Netolicky), + Bug 565747 ¿ relax anyURI data character checking (Vincent Lefevre), + Preserve attributes of include start on tree copy (Petr Pajas), + Skip silently unrecognized XPointer schemes (Jakub Wilk), + Fix leak on SAX1, xmllint --sax1 option and debug (Daniel Veillard), + potential NULL dereference on non-glibc (Jim Meyering), + Fix an XSD validation crash (Daniel Veillard), + Fix a regression in streaming entities support (Daniel Veillard), + Fix a couple of ABI issues with C14N 1.1 (Aleksey Sanin), + Aleksey Sanin support for c14n 1.1 (Aleksey Sanin), + reader bug fix with entities (Daniel Veillard), + use options from current parser ctxt for external entities (Rob Richards), + 581612 use %s to printf strings (Christian Persch), + 584605 change the threading initialization sequence (Igor Novoseltsev), + 580705 keep line numbers in HTML parser (Aaron Patterson), + 581803 broken HTML table attributes init (Roland Steiner), + do not set error code in xmlNsWarn (Rob Richards), + 564217 fix structured error handling problems, + reuse options from current parser for entities (Rob Richards), + xmlXPathRegisterNs should not allow enpty prefixes (Daniel Veillard), + add a missing check in xmlAddSibling (Kris Breuker), + avoid leaks on errors (Jinmei Tatuya) +
    • +
    • Cleanup: + Chasing dead assignments reported by clang-scan (Daniel Veillard), + A few more safety cleanup raised by scan (Daniel Veillard), + Fixing assorted potential problems raised by scan (Daniel Veillard), + Potential uninitialized arguments raised by scan (Daniel Veillard), + Fix a bunch of scan 'dead increments' and cleanup (Daniel Veillard), + Remove a pedantic warning (Daniel Veillard), + 555833 always use rm -f in uninstall-local (Daniel Veillard), + 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK (Daniel Veillard), + Autoregenerate libxml2.syms automated checkings (Daniel Veillard), + Make xmlRecoverDoc const (Martin Trappel) (Daniel Veillard), + Both args of xmlStrcasestr are const (Daniel Veillard), + hide the nbParse* variables used for debugging (Mike Hommey), + 570806 changed include of config.h (William M. Brack), + cleanups and error reports when xmlTextWriterVSprintf fails (Jinmei Tatuya) +
    • +

    2.7.3: Jan 18 2009

    • Build fix: fix build when HTML support is not included.
    • Bug fixes: avoid memory overflow in gigantic text nodes, indentation problem on the writed (Rob Richards), xmlAddChildList pointer problem (Rob Richards and Kevin Milburn), @@ -40,7 +160,7 @@ to the SVN code base.
    • Portability fixes: Older Win32 platforms (Rob Richards), MSVC porting fix (Rob Richards), Mac OS X regression tests (Sven Herzberg), - non GNUCC builds (Rob Richards), compilation on Haiku (Andreas Färber) + non GNUCC builds (Rob Richards), compilation on Haiku (Andreas Färber)
    • Bug fixes: various realloc problems (Ashwin), potential double-free (Ashwin), regexp crash, icrash with invalid whitespace facets (Rob @@ -130,9 +250,9 @@ to the SVN code base.SVN code base. + 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 @@ -152,7 +272,7 @@ to the SVN code base.SVN code base.
    • Improvement: make xmlTextReaderSetup() public
    • Compilation and postability: fix a missing include problem (William), - __ss_familly on AIX again (Björn Wiberg), compilation without zlib + __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
    • @@ -292,7 +412,7 @@ to the SVN code base.
    • documentation: typo (Michael Day), libxml man page (Albert Chin), save function to XML buffer (Geert Jansen), small doc fix (Aron Stansvik),
    • -

    2.6.22: Sep 12 2005

    • build fixes: compile without schematron (Stéphane Bidoul)
    • +

    2.6.22: Sep 12 2005

    • build fixes: compile without schematron (Stéphane Bidoul)
    • bug fixes: xmlDebugDumpNode on namespace node (Oleg Paraschenko)i, CDATA push parser bug, xmlElemDump problem with XHTML1 doc, XML_FEATURE_xxx clash with expat headers renamed XML_WITH_xxx, fix some @@ -532,7 +652,7 @@ to the SVN code base.
    • improvement: custom per-thread I/O enhancement (Rob Richards), register namespace in debug shell (Stefano Debenedetti), Python based regression @@ -640,8 +760,8 @@ to the SVN code base.
    • Documentation: python scripts (William Brack), xslt stylesheets (John Fleck), doc (Sven Zimmerman), I/O example.
    • -
    • Python bindings: fixes (William), enum support (Stéphane Bidoul), - structured error reporting (Stéphane Bidoul)
    • +
    • Python bindings: fixes (William), enum support (Stéphane Bidoul), + structured error reporting (Stéphane Bidoul)
    • XInclude: various fixes for conformance, problem related to dictionnary references (William & me), recursion (William)
    • xmlWriter: indentation (Lucas Brasilino), memory leaks (Alfred @@ -756,7 +876,7 @@ to the SVN code base.
    • Relax-NG: bug fixes including the one reported by Martijn Faassen and zeroOrMore, better error reporting.
    • -
    • Python bindings (Stéphane Bidoul), never use stdout for errors +
    • Python bindings (Stéphane Bidoul), never use stdout for errors output
    • Portability: all the headers have macros for export and calling convention definitions (Igor Zlatkovic), VMS update (Craig A. Berry), @@ -825,11 +945,11 @@ to the SVN code base.portability: DJGPP (MsDos) , OpenVMS (Craig A. Berry)
    • William Brack fixed multithreading lock problems
    • IPv6 patch for FTP and HTTP accesses (Archana Shah/Wipro)
    • -
    • Windows fixes (Igor Zlatkovic, Eric Zurcher), threading (Stéphane +
    • Windows fixes (Igor Zlatkovic, Eric Zurcher), threading (Stéphane Bidoul)
    • A few W3C Schemas Structure improvements
    • W3C Schemas Datatype improvements (Charlie Bozeman)
    • -
    • Python bindings for thread globals (Stéphane Bidoul), and method/class +
    • Python bindings for thread globals (Stéphane Bidoul), and method/class generator
    • added --nonet option to xmllint
    • documentation improvements (John Fleck)
    • @@ -887,7 +1007,7 @@ to the SVN code base.

      2.5.2: Feb 5 2003

      • First implementation of RelaxNG, added --relaxng flag to xmllint
      • Schemas support now compiled in by default.
      • Bug fixes: DTD validation, namespace checking, XInclude and entities, - delegateURI in XML Catalogs, HTML parser, XML reader (Stéphane Bidoul), + delegateURI in XML Catalogs, HTML parser, XML reader (Stéphane Bidoul), XPath parser and evaluation, UTF8ToUTF8 serialization, XML reader memory consumption, HTML parser, HTML serialization in the presence of namespaces
      • @@ -896,17 +1016,17 @@ to the SVN code base.
      • Portability fixes: NetBSD (Julio Merino), Windows (Igor Zlatkovic)
      • Added python bindings for XPointer, contextual error reporting - (Stéphane Bidoul)
      • + (Stéphane Bidoul)
      • URI/file escaping problems (Stefano Zacchiroli)

      2.5.1: Jan 8 2003

      • Fixes a memory leak and configuration/compilation problems in 2.5.0
      • documentation updates (John)
      • a couple of XmlTextReader fixes

      2.5.0: Jan 6 2003

      • New XmltextReader interface based on C# - API (with help of Stéphane Bidoul)
      • + API (with help of Stéphane Bidoul)
      • Windows: more exports, including the new API (Igor)
      • XInclude fallback fix
      • -
      • Python: bindings for the new API, packaging (Stéphane Bidoul), - drv_libxml2.py Python xml.sax driver (Stéphane Bidoul), fixes, speedup +
      • Python: bindings for the new API, packaging (Stéphane Bidoul), + drv_libxml2.py Python xml.sax driver (Stéphane Bidoul), fixes, speedup and iterators for Python-2.2 (Hannu Krosing)
      • Tutorial fixes (john Fleck and Niraj Tolia) xmllint man update (John)
      • @@ -920,7 +1040,7 @@ to the SVN code base.Improvement/fixes of the XML API generator, and couple of minor code fixes.

      2.4.29: Dec 11 2002

      • Windows fixes (Igor): Windows CE port, pthread linking, python bindings - (Stéphane Bidoul), Mingw (Magnus Henoch), and export list updates
      • + (Stéphane Bidoul), Mingw (Magnus Henoch), and export list updates
      • Fix for prev in python bindings (ERDI Gergo)
      • Fix for entities handling (Marcus Clarke)
      • Refactored the XML and HTML dumps to a single code path, fixed XHTML1 @@ -1154,7 +1274,7 @@ it's actually not compiled in by default. The real fixes are:

        • a coupl
        • a number of reported bugs got fixed, in XPath, iconv detection, XInclude processing
        • XPath string function should now handle unicode correctly
        • -

        2.3.9: May 19 2001

        Lots of bugfixes, and added a basic SGML catalog support:

        • HTML push bugfix #54891 and another patch from Jonas Borgström
        • +

        2.3.9: May 19 2001

        Lots of bugfixes, and added a basic SGML catalog support:

        • HTML push bugfix #54891 and another patch from Jonas Borgström
        • some serious speed optimization again
        • some documentation cleanups
        • trying to get better linking on Solaris (-R)
        • diff --git a/doc/python.html b/doc/python.html index 4f3cddc9..006fdc41 100644 --- a/doc/python.html +++ b/doc/python.html @@ -57,7 +57,7 @@ to be maintained as part of the library in the future, though the Python interface have not yet reached the completeness of the C API.

          Note that some of the Python purist dislike the default set of Python bindings, rather than complaining I suggest they have a look at lxml the more pythonic bindings for libxml2 and libxslt and help Martijn -Faassen complete those.

          Stéphane Bidoul +Faassen complete those.

          Stéphane Bidoul maintains a Windows port of the Python bindings.

          Note to people interested in building bindings, the API is formalized as an XML API description file which allows to diff --git a/doc/xml.html b/doc/xml.html index e51b5079..306fdbc1 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -717,6 +717,129 @@ to the SVN code base.Here is the list of public releases:

          +

          2.7.4: Sep 10 2009

          +
            +
          • Improvements: + Switch to GIT (GNOME), + Add symbol versioning to libxml2 shared libs (Daniel Veillard) +
          • +
          • Portability: + 593857 try to work around thread pbm MinGW 4.4 (Daniel Veillard), + 594250 rename ATTRIBUTE_ALLOC_SIZE to avoid clashes (Daniel Veillard), + Fix Windows build * relaxng.c: fix windows build (Rob Richards), + Fix the globals.h to use XMLPUBFUN (Paul Smith), + Problem with extern extern in header (Daniel Veillard), + Add -lnetwork for compiling on Haiku (Scott McCreary), + Runtest portability patch for Solaris (Tim Rice), + Small patch to accomodate the Haiku OS (Scott McCreary), + 584605 package VxWorks folder in the distribution (Daniel Veillard), + 574017 Realloc too expensive on most platform (Daniel Veillard), + Fix windows build (Rob Richards), + 545579 doesn't compile without schema support (Daniel Veillard), + xmllint use xmlGetNodePath when not compiled in (Daniel Veillard), + Try to avoid __imp__xmlFree link trouble on msys (Daniel Veillard), + Allow to select the threading system on Windows (LRN), + Fix Solaris binary links, cleanups (Daniel Veillard), + Bug 571059 – MSVC doesn't work with the bakefile (Intron), + fix ATTRIBUTE_PRINTF header clash (Belgabor and Mike Hommey), + fixes for Borland/CodeGear/Embarcadero compilers (Eric Zurcher) +
          • +
          • Documentation: + 544910 typo: "renciliateNs" (Leonid Evdokimov), + Add VxWorks to list of OSes (Daniel Veillard), + Regenerate the documentation and update for git (Daniel Veillard), + 560524 ¿ xmlTextReaderLocalName description (Daniel Veillard), + Added sponsoring by AOE media for the server (Daniel Veillard), + updated URLs for GNOME (Vincent Lefevre), + more warnings about xmlCleanupThreads and xmlCleanupParser (Daniel Veillard) +
          • +
          • Bug fixes: + 594514 memory leaks - duplicate initialization (MOD), + Wrong block opening in htmlNodeDumpOutputInternal (Daniel Veillard), + 492317 Fix Relax-NG validation problems (Daniel Veillard), + 558452 fight with reg test and error report (Daniel Veillard), + 558452 RNG compilation of optional multiple child (Daniel Veillard), + 579746 XSD validation not correct / nilable groups (Daniel Veillard), + 502960 provide namespace stack when parsing entity (Daniel Veillard), + 566012 part 2 fix regresion tests and push mode (Daniel Veillard), + 566012 autodetected encoding and encoding conflict (Daniel Veillard), + 584220 xpointer(/) and xinclude problems (Daniel Veillard), + 587663 Incorrect Attribute-Value Normalization (Daniel Veillard), + 444994 HTML chunked failure for attribute with <> (Daniel Veillard), + Fix end of buffer char being split in XML parser (Daniel Veillard), + Non ASCII character may be split at buffer end (Adiel Mittmann), + 440226 Add xmlXIncludeProcessTreeFlagsData API (Stefan Behnel), + 572129 speed up parsing of large HTML text nodes (Markus Kull), + Fix HTML parsing with 0 character in CDATA (Daniel Veillard), + Fix SetGenericErrorFunc and SetStructured clash (Wang Lam), + 566012 Incomplete EBCDIC parsing support (Martin Kogler), + 541335 HTML avoid creating 2 head or 2 body element (Daniel Veillard), + 541237 error correcting missing end tags in HTML (Daniel Veillard), + 583439 missing line numbers in push mode (Daniel Veillard), + 587867 xmllint --html --xmlout serializing as HTML (Daniel Veillard), + 559501 avoid select and use poll for nanohttp (Raphael Prevost), + 559410 - Regexp bug on (...)? constructs (Daniel Veillard), + Fix a small problem on previous HTML parser patch (Daniel Veillard), + 592430 - HTML parser runs into endless loop (Daniel Veillard), + 447899 potential double free in xmlFreeTextReader (Daniel Veillard), + 446613 small validation bug mixed content with NS (Daniel Veillard), + Fix the problem of revalidating a doc with RNG (Daniel Veillard), + Fix xmlKeepBlanksDefault to not break indent (Nick Wellnhofer), + 512131 refs from externalRef part need to be added (Daniel Veillard), + 512131 crash in xmlRelaxNGValidateFullElement (Daniel Veillard), + 588441 allow '.' in HTML Names even if invalid (Daniel Veillard), + 582913 Fix htmlSetMetaEncoding() to be nicer (Daniel Veillard), + 579317 Try to find the HTML encoding information (Daniel Veillard), + 575875 don't output charset=html (Daniel Veillard), + 571271 fix semantic of xsd:all with minOccurs=0 (Daniel Veillard), + 570702 fix a bug in regexp determinism checking (Daniel Veillard), + 567619 xmlValidateNotationUse missing param test (Daniel Veillard), + 574393 ¿ utf-8 filename magic for compressed files (Hans Breuer), + Fix a couple of problems in the parser (Daniel Veillard), + 585505 ¿ Document ids and refs populated by XSD (Wayne Jensen), + 582906 XSD validating multiple imports of the same schema (Jason Childs), + Bug 582887 ¿ problems validating complex schemas (Jason Childs), + Bug 579729 ¿ fix XSD schemas parsing crash (Miroslav Bajtos), + 576368 ¿ htmlChunkParser with special attributes (Jiri Netolicky), + Bug 565747 ¿ relax anyURI data character checking (Vincent Lefevre), + Preserve attributes of include start on tree copy (Petr Pajas), + Skip silently unrecognized XPointer schemes (Jakub Wilk), + Fix leak on SAX1, xmllint --sax1 option and debug (Daniel Veillard), + potential NULL dereference on non-glibc (Jim Meyering), + Fix an XSD validation crash (Daniel Veillard), + Fix a regression in streaming entities support (Daniel Veillard), + Fix a couple of ABI issues with C14N 1.1 (Aleksey Sanin), + Aleksey Sanin support for c14n 1.1 (Aleksey Sanin), + reader bug fix with entities (Daniel Veillard), + use options from current parser ctxt for external entities (Rob Richards), + 581612 use %s to printf strings (Christian Persch), + 584605 change the threading initialization sequence (Igor Novoseltsev), + 580705 keep line numbers in HTML parser (Aaron Patterson), + 581803 broken HTML table attributes init (Roland Steiner), + do not set error code in xmlNsWarn (Rob Richards), + 564217 fix structured error handling problems, + reuse options from current parser for entities (Rob Richards), + xmlXPathRegisterNs should not allow enpty prefixes (Daniel Veillard), + add a missing check in xmlAddSibling (Kris Breuker), + avoid leaks on errors (Jinmei Tatuya) +
          • +
          • Cleanup: + Chasing dead assignments reported by clang-scan (Daniel Veillard), + A few more safety cleanup raised by scan (Daniel Veillard), + Fixing assorted potential problems raised by scan (Daniel Veillard), + Potential uninitialized arguments raised by scan (Daniel Veillard), + Fix a bunch of scan 'dead increments' and cleanup (Daniel Veillard), + Remove a pedantic warning (Daniel Veillard), + 555833 always use rm -f in uninstall-local (Daniel Veillard), + 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK (Daniel Veillard), + Autoregenerate libxml2.syms automated checkings (Daniel Veillard), + Make xmlRecoverDoc const (Martin Trappel) (Daniel Veillard), + Both args of xmlStrcasestr are const (Daniel Veillard), + hide the nbParse* variables used for debugging (Mike Hommey), + 570806 changed include of config.h (William M. Brack), + cleanups and error reports when xmlTextWriterVSprintf fails (Jinmei Tatuya) +
          • +

          2.7.3: Jan 18 2009

          • Build fix: fix build when HTML support is not included.
          • @@ -758,7 +881,7 @@ to the SVN code base.
          • Portability fixes: Older Win32 platforms (Rob Richards), MSVC porting fix (Rob Richards), Mac OS X regression tests (Sven Herzberg), - non GNUCC builds (Rob Richards), compilation on Haiku (Andreas Färber) + non GNUCC builds (Rob Richards), compilation on Haiku (Andreas Färber)
          • Bug fixes: various realloc problems (Ashwin), potential double-free (Ashwin), regexp crash, icrash with invalid whitespace facets (Rob @@ -861,9 +984,9 @@ to the SVN code base.SVN code base. + 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)
          @@ -887,7 +1010,7 @@ to the SVN code base.SVN code base.
        • Improvement: make xmlTextReaderSetup() public
        • Compilation and postability: fix a missing include problem (William), - __ss_familly on AIX again (Björn Wiberg), compilation without zlib + __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
        • @@ -1049,7 +1172,7 @@ to the SVN code base.2.6.22: Sep 12 2005
            -
          • build fixes: compile without schematron (Stéphane Bidoul)
          • +
          • build fixes: compile without schematron (Stéphane Bidoul)
          • bug fixes: xmlDebugDumpNode on namespace node (Oleg Paraschenko)i, CDATA push parser bug, xmlElemDump problem with XHTML1 doc, XML_FEATURE_xxx clash with expat headers renamed XML_WITH_xxx, fix some @@ -1333,7 +1456,7 @@ to the SVN code base.
          • improvement: custom per-thread I/O enhancement (Rob Richards), register namespace in debug shell (Stefano Debenedetti), Python based regression @@ -1465,8 +1588,8 @@ to the SVN code base.
          • Documentation: python scripts (William Brack), xslt stylesheets (John Fleck), doc (Sven Zimmerman), I/O example.
          • -
          • Python bindings: fixes (William), enum support (Stéphane Bidoul), - structured error reporting (Stéphane Bidoul)
          • +
          • Python bindings: fixes (William), enum support (Stéphane Bidoul), + structured error reporting (Stéphane Bidoul)
          • XInclude: various fixes for conformance, problem related to dictionnary references (William & me), recursion (William)
          • xmlWriter: indentation (Lucas Brasilino), memory leaks (Alfred @@ -1601,7 +1724,7 @@ to the SVN code base.
          • Relax-NG: bug fixes including the one reported by Martijn Faassen and zeroOrMore, better error reporting.
          • -
          • Python bindings (Stéphane Bidoul), never use stdout for errors +
          • Python bindings (Stéphane Bidoul), never use stdout for errors output
          • Portability: all the headers have macros for export and calling convention definitions (Igor Zlatkovic), VMS update (Craig A. Berry), @@ -1690,11 +1813,11 @@ to the SVN code base.portability: DJGPP (MsDos) , OpenVMS (Craig A. Berry)
          • William Brack fixed multithreading lock problems
          • IPv6 patch for FTP and HTTP accesses (Archana Shah/Wipro)
          • -
          • Windows fixes (Igor Zlatkovic, Eric Zurcher), threading (Stéphane +
          • Windows fixes (Igor Zlatkovic, Eric Zurcher), threading (Stéphane Bidoul)
          • A few W3C Schemas Structure improvements
          • W3C Schemas Datatype improvements (Charlie Bozeman)
          • -
          • Python bindings for thread globals (Stéphane Bidoul), and method/class +
          • Python bindings for thread globals (Stéphane Bidoul), and method/class generator
          • added --nonet option to xmllint
          • documentation improvements (John Fleck)
          • @@ -1776,7 +1899,7 @@ to the SVN code base.First implementation of RelaxNG, added --relaxng flag to xmllint
          • Schemas support now compiled in by default.
          • Bug fixes: DTD validation, namespace checking, XInclude and entities, - delegateURI in XML Catalogs, HTML parser, XML reader (Stéphane Bidoul), + delegateURI in XML Catalogs, HTML parser, XML reader (Stéphane Bidoul), XPath parser and evaluation, UTF8ToUTF8 serialization, XML reader memory consumption, HTML parser, HTML serialization in the presence of namespaces
          • @@ -1785,7 +1908,7 @@ to the SVN code base.
          • Portability fixes: NetBSD (Julio Merino), Windows (Igor Zlatkovic)
          • Added python bindings for XPointer, contextual error reporting - (Stéphane Bidoul)
          • + (Stéphane Bidoul)
          • URI/file escaping problems (Stefano Zacchiroli)
          @@ -1799,11 +1922,11 @@ to the SVN code base.2.5.0: Jan 6 2003
          • New XmltextReader interface based on C# - API (with help of Stéphane Bidoul)
          • + API (with help of Stéphane Bidoul)
          • Windows: more exports, including the new API (Igor)
          • XInclude fallback fix
          • -
          • Python: bindings for the new API, packaging (Stéphane Bidoul), - drv_libxml2.py Python xml.sax driver (Stéphane Bidoul), fixes, speedup +
          • Python: bindings for the new API, packaging (Stéphane Bidoul), + drv_libxml2.py Python xml.sax driver (Stéphane Bidoul), fixes, speedup and iterators for Python-2.2 (Hannu Krosing)
          • Tutorial fixes (john Fleck and Niraj Tolia) xmllint man update (John)
          • @@ -1826,7 +1949,7 @@ to the SVN code base.2.4.29: Dec 11 2002
            • Windows fixes (Igor): Windows CE port, pthread linking, python bindings - (Stéphane Bidoul), Mingw (Magnus Henoch), and export list updates
            • + (Stéphane Bidoul), Mingw (Magnus Henoch), and export list updates
            • Fix for prev in python bindings (ERDI Gergo)
            • Fix for entities handling (Marcus Clarke)
            • Refactored the XML and HTML dumps to a single code path, fixed XHTML1 @@ -2214,7 +2337,7 @@ it's actually not compiled in by default. The real fixes are:

              Lots of bugfixes, and added a basic SGML catalog support:

                -
              • HTML push bugfix #54891 and another patch from Jonas Borgström
              • +
              • HTML push bugfix #54891 and another patch from Jonas Borgström
              • some serious speed optimization again
              • some documentation cleanups
              • trying to get better linking on Solaris (-R)
              • @@ -2809,7 +2932,7 @@ and libxslt and help Martijn Faassen complete those.

                -

                Stéphane Bidoul +

                Stéphane Bidoul maintains a Windows port of the Python bindings.

                @@ -3633,7 +3756,7 @@ they are clearly labeled as such. For example the following is a wellformed XML document encoded in ISO-8859-1 and using accentuated letters that we French like for both markup and content:

                <?xml version="1.0" encoding="ISO-8859-1"?>
                -<très>là</très>
                +<très>là</très>

                Having internationalization support in libxml2 means the following:

                  @@ -3660,7 +3783,7 @@ an internationalized fashion by libxml2 too:

                  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> </head> <body> -<p>W3C crée des standards pour le Web.</body> +<p>W3C crée des standards pour le Web.</body> </html>

                  The internal encoding, how and why

                  @@ -3734,10 +3857,10 @@ sequence:

                  You may end-up with a garbled document, or no document at all ! Example:
                  ~/XML -> ./xmllint err.xml 
                   err.xml:1: error: Input is not proper UTF-8, indicate encoding !
                  -<très>là</très>
                  +<très>là</très>
                      ^
                   err.xml:1: error: Bytes: 0xE8 0x73 0x3E 0x6C
                  -<très>là</très>
                  +<très>là</très>
                      ^
                • xmlSwitchEncoding() does an encoding name lookup, canonicalize it, and @@ -3797,10 +3920,10 @@ encoding:

                  Here are a few examples based on the same test document:

                  ~/XML -> ./xmllint isolat1 
                   <?xml version="1.0" encoding="ISO-8859-1"?>
                  -<très>là</très>
                  +<très>là</très>
                   ~/XML -> ./xmllint --encode UTF-8 isolat1 
                   <?xml version="1.0" encoding="UTF-8"?>
                  -<très>là  </très>
                  +<très>là  </très>
                   ~/XML -> 

                  The same processing is applied (and reuse most of the code) for HTML I18N diff --git a/libxml.spec.in b/libxml.spec.in index 324b12cc..688811a8 100644 --- a/libxml.spec.in +++ b/libxml.spec.in @@ -4,12 +4,10 @@ Version: @VERSION@ Release: 1 License: MIT Group: Development/Libraries -Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz +Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildRequires: python python-devel zlib-devel +BuildRequires: python python-devel zlib-devel pkgconfig URL: http://xmlsoft.org/ -Prefix: %{_prefix} -Docdir: %{_docdir} %description This library allows to manipulate XML files. It includes support @@ -62,14 +60,14 @@ at parse time or later once the document has been modified. %build %configure -make +make %{_smp_mflags} gzip -9 ChangeLog %install rm -fr %{buildroot} %makeinstall -(cd doc/examples ; make clean ; rm -rf .deps) +(cd doc/examples ; make clean ; rm -rf .deps Makefile) gzip -9 doc/libxml2-api.xml rm -f $RPM_BUILD_ROOT%{_libdir}/*.la @@ -91,17 +89,18 @@ rm -fr %{buildroot} %doc %{_mandir}/man3/libxml.3* %{_libdir}/lib*.so.* -%{prefix}/bin/xmllint -%{prefix}/bin/xmlcatalog +%{_bindir}/xmllint +%{_bindir}/xmlcatalog %files devel %defattr(-, root, root) %doc %{_mandir}/man1/xml2-config.1* -%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO +%doc AUTHORS ChangeLog.gz NEWS README Copyright %doc doc/*.html doc/html doc/*.gif doc/*.png %doc doc/tutorial doc/libxml2-api.xml.gz %doc doc/examples +%doc %dir %{_datadir}/gtk-doc/html/libxml2 %doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp %doc %{_datadir}/gtk-doc/html/libxml2/*.html %doc %{_datadir}/gtk-doc/html/libxml2/*.png @@ -110,9 +109,9 @@ rm -fr %{buildroot} %{_libdir}/lib*.so %{_libdir}/*a %{_libdir}/*.sh -%{prefix}/include/* -%{prefix}/bin/xml2-config -%{prefix}/share/aclocal/libxml.m4 +%{_includedir}/* +%{_bindir}/xml2-config +%{_datadir}/aclocal/libxml.m4 %{_libdir}/pkgconfig/libxml-2.0.pc %files python %defattr(-, root, root) diff --git a/python/setup.py b/python/setup.py index 1fc700c1..9f0aaa07 100755 --- a/python/setup.py +++ b/python/setup.py @@ -226,7 +226,7 @@ else: setup (name = "libxml2-python", # On *nix, the version number is created from setup.py.in # On windows, it is set by configure.js - version = "2.7.3", + version = "2.7.4", description = descr, author = "Daniel Veillard", author_email = "veillard@redhat.com", diff --git a/xmlregexp.c b/xmlregexp.c index fe4bd389..a10bf6b2 100644 --- a/xmlregexp.c +++ b/xmlregexp.c @@ -5610,7 +5610,7 @@ xmlFreeAutomata(xmlAutomataPtr am) { } /** - * xmlAutomataSetFlags + * xmlAutomataSetFlags: * @am: an automata * @flags: a set of internal flags *