diff --git a/ChangeLog b/ChangeLog index b1ef31e7..58809983 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 18 22:37:59 CET 2009 Daniel Veillard + + * configure.in doc/xml.html doc/*: preparing 0.7.3 release + * include/libxml/parserInternals.h SAX2.c: fix a typo in a name + Sun Jan 18 21:48:28 CET 2009 Daniel Veillard * include/libxml/parser.h include/libxml/xmlwriter.h @@ -37,7 +42,7 @@ Sun Jan 18 15:55:18 CET 2009 Daniel Veillard Sun Jan 18 15:06:05 CET 2009 Daniel Veillard * include/libxml/parserInternals.h SAX2.c: add a new define - XML_MAX_TEXT_LENGHT limiting the maximum size of a single text + XML_MAX_TEXT_LENGTH limiting the maximum size of a single text node, the defaultis 10MB and can be removed with the HUGE parsing option diff --git a/SAX2.c b/SAX2.c index d83a63cd..164409cc 100644 --- a/SAX2.c +++ b/SAX2.c @@ -2461,7 +2461,7 @@ xmlSAX2Characters(void *ctx, const xmlChar *ch, int len) (xmlDictOwns(ctxt->dict, lastChild->content))) { lastChild->content = xmlStrdup(lastChild->content); } - if (((size_t)ctxt->nodelen + (size_t)len > XML_MAX_TEXT_LENGHT) && + if (((size_t)ctxt->nodelen + (size_t)len > XML_MAX_TEXT_LENGTH) && ((ctxt->options & XML_PARSE_HUGE) == 0)) { xmlSAX2ErrMemory(ctxt, "xmlSAX2Characters: huge text node"); return; diff --git a/configure.in b/configure.in index 9603e8fd..1ac23161 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=2 +LIBXML_MICRO_VERSION=3 LIBXML_MICRO_VERSION_SUFFIX= LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index 94fd2fa5..5264d463 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -298,7 +298,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGcMemSetup
xmlMemSetup
xmlParserInputDeallocate
-
allocator
DEBUG_MEMORY
+
allocator
ATTRIBUTE_ALLOC_SIZE
+DEBUG_MEMORY
allocators
xmlGcMemGet
xmlGcMemSetup
allow
XML_SCHEMAS_ATTR_GLOBAL
@@ -322,7 +323,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidateName
xmlValidateQName
allowable
xmlSkipBlankChars
-
allowed
_htmlElemDesc
+
allowed
XML_MAX_TEXT_LENGTH
+_htmlElemDesc
_xmlElement
_xmlSchemaWildcard
htmlElementAllowedHere
diff --git a/doc/APIchunk11.html b/doc/APIchunk11.html index ad39b56b..b6929564 100644 --- a/doc/APIchunk11.html +++ b/doc/APIchunk11.html @@ -199,7 +199,8 @@ A:link, A:visited, A:active { text-decoration: underline }
bound
xmlExpNewRange
boundaries
_xmlParserCtxt
xmlSearchNs
-
boundary
xmlParseElementChildrenContentDecl
+
boundary
XML_MAX_TEXT_LENGTH
+xmlParseElementChildrenContentDecl
xmlParseElementMixedContentDecl
bracket
xmlParseCharData
branch
xmlDOMWrapCloneNode
@@ -242,7 +243,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderGetRemainder
builded
XML_SCHEMAS_ATTRGROUP_GLOBAL
XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED
-
building
_xmlParserCtxt
+
building
XML_MAX_TEXT_LENGTH
+_xmlParserCtxt
docbSAXParseDoc
docbSAXParseFile
htmlSAXParseFile
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html index d8ac4164..3a170590 100644 --- a/doc/APIchunk15.html +++ b/doc/APIchunk15.html @@ -113,7 +113,8 @@ A:link, A:visited, A:active { text-decoration: underline }
fatal
fatalErrorSAXFunc
fatalError
fatalErrorSAXFunc
favor
xmlNewElementContent
-
feature
xmlGetFeature
+
feature
XML_MAX_TEXT_LENGTH
+xmlGetFeature
xmlGetFeaturesList
xmlHasFeature
xmlSetFeature
diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html index 633240ee..29b9ec3f 100644 --- a/doc/APIchunk17.html +++ b/doc/APIchunk17.html @@ -210,7 +210,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNodeSetRemove
xmlXPtrLocationSetRemove
xmlXPtrNewRange
-
indicate
xmlParseExternalID
+
indicate
ATTRIBUTE_ALLOC_SIZE
+ATTRIBUTE_PRINTF
+xmlParseExternalID
xmlParserInputGrow
xmlParserInputRead
xmlRegExecPushString
diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html index 78b44803..d0651f17 100644 --- a/doc/APIchunk18.html +++ b/doc/APIchunk18.html @@ -267,7 +267,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlUnlockLibrary
lifetime
xmlBufferCreateStatic
xmlExpCtxtNbCons
-
like
IS_CHAR_CH
+
like
ATTRIBUTE_PRINTF
+IS_CHAR_CH
IS_DIGIT_CH
IS_EXTENDER_CH
IS_LETTER_CH
@@ -285,6 +286,7 @@ A:link, A:visited, A:active { text-decoration: underline }
limit
xmlCharEncFirstLine
xmlDecodeEntities
xmlPatternMaxDepth
+
limitation
XML_MAX_TEXT_LENGTH
limited
_htmlElemDesc
linear
htmlEntityLookup
htmlEntityValueLookup
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index cff8e697..4f02c03f 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html @@ -230,7 +230,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathValueFlipSign
opposite
xmlCleanupParser
optimized
xmlXPathNodeSetAddUnique
-
option
xmlDOMWrapAdoptNode
+
option
XML_MAX_TEXT_LENGTH
+xmlDOMWrapAdoptNode
xmlDOMWrapCloneNode
xmlDOMWrapReconcileNamespaces
xmlGetLineNo
@@ -333,7 +334,8 @@ A:link, A:visited, A:active { text-decoration: underline }
outside
xmlReconciliateNs
over
xmlExpCtxtNbCons
overflow
_xmlParserInput
-
override
resolveEntity
+
override
XML_MAX_TEXT_LENGTH
+resolveEntity
resolveEntitySAXFunc
xmlCatalogAdd
xmlSAX2ResolveEntity
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html index 845f9192..4377acb8 100644 --- a/doc/APIchunk24.html +++ b/doc/APIchunk24.html @@ -42,6 +42,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlInitializeCatalog
xmlLoadCatalog
xmlLoadCatalogs
+
safety
XML_MAX_TEXT_LENGTH
same
HTML_COMMENT_NODE
HTML_ENTITY_REF_NODE
HTML_PI_NODE
@@ -377,6 +378,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlPreviousElementSibling
xmlRelaxNGNewDocParserCtxt
single
IS_DIGIT_CH
+XML_MAX_TEXT_LENGTH
xmlCurrentChar
xmlParseAttValue
xmlParseElementMixedContentDecl
diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html index 6c2be3b6..3b0b3498 100644 --- a/doc/APIchunk3.html +++ b/doc/APIchunk3.html @@ -126,7 +126,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSetStructuredErrorFunc
xmlXPathFunctionLookup
xmlXPathFunctionLookupNS
-

Letter G:

GCC
ATTRIBUTE_UNUSED
+

Letter G:

GCC
ATTRIBUTE_ALLOC_SIZE
+ATTRIBUTE_PRINTF
+ATTRIBUTE_UNUSED
GEDecl
xmlParseEntityDecl
GET
xmlNanoHTTPFetch
xmlNanoHTTPOpen
diff --git a/doc/APIchunk4.html b/doc/APIchunk4.html index b954f386..2a4fb800 100644 --- a/doc/APIchunk4.html +++ b/doc/APIchunk4.html @@ -133,6 +133,7 @@ A:link, A:visited, A:active { text-decoration: underline }
MathematicalOperators
xmlUCSIsMathematicalOperators
Max
_xmlParserCtxt
_xmlValidCtxt
+
Maximum
XML_MAX_TEXT_LENGTH
May
xmlURIEscape
Memory
xmlDocDumpFormatMemoryEnc
xmlDocDumpMemoryEnc
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index e1f38c01..497a2bfc 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html @@ -191,6 +191,7 @@ A:link, A:visited, A:active { text-decoration: underline }
XML_ELEMENT_TYPE_xxx
xmlParseElementContentDecl
XML_ENTITY_DECL
_xmlEntity
XML_ERR_OK
xmlParseInNodeContext
+
XML_PARSE_HUGE
XML_MAX_TEXT_LENGTH
XML_SCHEMAS_ELEM_GLOBAL
XML_SCHEMAS_ELEM_TOPLEVEL
XML_SCHEMAS_FACET_PRESERVE
_xmlSchemaFacet
XML_SCHEMAS_STRING
xmlSchemaNewStringValue
diff --git a/doc/APIfiles.html b/doc/APIfiles.html index 8ad26732..7ed0d9b3 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -801,7 +801,7 @@ A:link, A:visited, A:active { text-decoration: underline } MOVETO_STARTTAG
SKIP_EOL
XML_MAX_NAMELEN
-XML_MAX_TEXT_LENGHT
+XML_MAX_TEXT_LENGTH
XML_SUBSTITUTE_BOTH
XML_SUBSTITUTE_NONE
XML_SUBSTITUTE_PEREF
@@ -3125,7 +3125,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlUCSIsYiRadicals
xmlUCSIsYiSyllables
xmlUCSIsYijingHexagramSymbols
-

Module xmlversion:

ATTRIBUTE_UNUSED
+

Module xmlversion:

ATTRIBUTE_ALLOC_SIZE
+ATTRIBUTE_PRINTF
+ATTRIBUTE_UNUSED
DEBUG_MEMORY_LOCATION
LIBXML_AUTOMATA_ENABLED
LIBXML_C14N_ENABLED
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index 4ed93879..126e387f 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -7,7 +7,9 @@ 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_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_ALLOC_SIZE
+ATTRIBUTE_PRINTF
+ATTRIBUTE_UNUSED

Letter B:

BAD_CAST
BASE_BUFFER_SIZE

Letter C:

CAST_TO_BOOLEAN
@@ -534,7 +536,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_IO_WRITE
XML_LOCAL_NAMESPACE
XML_MAX_NAMELEN
-XML_MAX_TEXT_LENGHT
+XML_MAX_TEXT_LENGTH
XML_MODULE_CLOSE
XML_MODULE_LAZY
XML_MODULE_LOCAL
diff --git a/doc/devhelp/libxml2-parserInternals.html b/doc/devhelp/libxml2-parserInternals.html index 5cb01491..caba9d30 100644 --- a/doc/devhelp/libxml2-parserInternals.html +++ b/doc/devhelp/libxml2-parserInternals.html @@ -55,7 +55,6 @@ #define IS_LETTER(c); #define IS_IDEOGRAPHIC(c); #define MOVETO_STARTTAG(p); -#define XML_MAX_TEXT_LENGHT; #define IS_ASCII_LETTER(c); #define IS_DIGIT(c); #define XML_SUBSTITUTE_PEREF; @@ -64,6 +63,7 @@ #define IS_EXTENDER_CH(c); #define IS_BLANK_CH(c); #define IS_LETTER_CH(c); +#define XML_MAX_TEXT_LENGTH; #define XML_SUBSTITUTE_NONE; #define IS_COMBINING(c); #define XML_MAX_NAMELEN; @@ -267,7 +267,7 @@ void xmlParseEntityDecl (

Macro XML_MAX_TEXT_LENGHT

#define XML_MAX_TEXT_LENGHT;
+        

Macro XML_MAX_TEXT_LENGTH

#define XML_MAX_TEXT_LENGTH;
 

Maximum size allowed for a single text node when building a tree. This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it.


diff --git a/doc/devhelp/libxml2.devhelp b/doc/devhelp/libxml2.devhelp index d3444e3b..ce525af1 100644 --- a/doc/devhelp/libxml2.devhelp +++ b/doc/devhelp/libxml2.devhelp @@ -161,7 +161,7 @@ - + diff --git a/doc/html/libxml-parserInternals.html b/doc/html/libxml-parserInternals.html index 2231ff4a..5c155db2 100644 --- a/doc/html/libxml-parserInternals.html +++ b/doc/html/libxml-parserInternals.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module parserInternals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module parserInternals from libxml2

API Menu
API Indexes
Related links

this module exports a number of internal parsing routines they are not really all intended for applications but can prove useful doing low level processing.

Table of Contents

#define INPUT_CHUNK
#define IS_ASCII_DIGIT
#define IS_ASCII_LETTER
#define IS_BASECHAR
#define IS_BLANK
#define IS_BLANK_CH
#define IS_BYTE_CHAR
#define IS_CHAR
#define IS_CHAR_CH
#define IS_COMBINING
#define IS_COMBINING_CH
#define IS_DIGIT
#define IS_DIGIT_CH
#define IS_EXTENDER
#define IS_EXTENDER_CH
#define IS_IDEOGRAPHIC
#define IS_LETTER
#define IS_LETTER_CH
#define IS_PUBIDCHAR
#define IS_PUBIDCHAR_CH
#define MOVETO_ENDTAG
#define MOVETO_STARTTAG
#define SKIP_EOL
#define XML_MAX_NAMELEN
#define XML_MAX_TEXT_LENGHT
#define XML_SUBSTITUTE_BOTH
#define XML_SUBSTITUTE_NONE
#define XML_SUBSTITUTE_PEREF
#define XML_SUBSTITUTE_REF
htmlParserCtxtPtr	htmlCreateFileParserCtxt	(const char * filename, 
const char * encoding)
+ Module parserInternals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module parserInternals from libxml2

API Menu
API Indexes
Related links

this module exports a number of internal parsing routines they are not really all intended for applications but can prove useful doing low level processing.

Table of Contents

#define INPUT_CHUNK
#define IS_ASCII_DIGIT
#define IS_ASCII_LETTER
#define IS_BASECHAR
#define IS_BLANK
#define IS_BLANK_CH
#define IS_BYTE_CHAR
#define IS_CHAR
#define IS_CHAR_CH
#define IS_COMBINING
#define IS_COMBINING_CH
#define IS_DIGIT
#define IS_DIGIT_CH
#define IS_EXTENDER
#define IS_EXTENDER_CH
#define IS_IDEOGRAPHIC
#define IS_LETTER
#define IS_LETTER_CH
#define IS_PUBIDCHAR
#define IS_PUBIDCHAR_CH
#define MOVETO_ENDTAG
#define MOVETO_STARTTAG
#define SKIP_EOL
#define XML_MAX_NAMELEN
#define XML_MAX_TEXT_LENGTH
#define XML_SUBSTITUTE_BOTH
#define XML_SUBSTITUTE_NONE
#define XML_SUBSTITUTE_PEREF
#define XML_SUBSTITUTE_REF
htmlParserCtxtPtr	htmlCreateFileParserCtxt	(const char * filename, 
const char * encoding)
void	htmlInitAutoClose		(void)
xmlParserInputPtr	inputPop	(xmlParserCtxtPtr ctxt)
int	inputPush			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr value)
@@ -128,7 +128,7 @@ void xmlEntityReferenceFunc (Macro: MOVETO_STARTTAG
#define MOVETO_STARTTAG

Skips to the next '<' char.

Macro: SKIP_EOL

#define SKIP_EOL

Skips the end of line chars.

Macro: XML_MAX_NAMELEN

#define XML_MAX_NAMELEN

Identifiers can be longer, but this will be more costly at runtime.

-

Macro: XML_MAX_TEXT_LENGHT

#define XML_MAX_TEXT_LENGHT

+

Macro: XML_MAX_TEXT_LENGTH

#define XML_MAX_TEXT_LENGTH

Maximum size allowed for a single text node when building a tree. This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it.

Macro: XML_SUBSTITUTE_BOTH

#define XML_SUBSTITUTE_BOTH

Both general and parameter entities need to be substituted.

Macro: XML_SUBSTITUTE_NONE

#define XML_SUBSTITUTE_NONE

If no entities need to be substituted.

Macro: XML_SUBSTITUTE_PEREF

#define XML_SUBSTITUTE_PEREF

Whether parameter entities need to be substituted.

diff --git a/doc/html/libxml-xmlversion.html b/doc/html/libxml-xmlversion.html index c76206c8..3317c0a7 100644 --- a/doc/html/libxml-xmlversion.html +++ b/doc/html/libxml-xmlversion.html @@ -10,8 +10,10 @@ 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_UNUSED
#define DEBUG_MEMORY_LOCATION
#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_ALLOC_SIZE
#define ATTRIBUTE_PRINTF
#define ATTRIBUTE_UNUSED
#define DEBUG_MEMORY_LOCATION
#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_PRINTF

#define ATTRIBUTE_PRINTF

Macro used to indicate to GCC the parameter are printf like

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_AUTOMATA_ENABLED

#define LIBXML_AUTOMATA_ENABLED

Whether the automata interfaces are compiled in

diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 33b3a5a4..30da57c7 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -879,7 +879,6 @@ - @@ -888,6 +887,7 @@ + @@ -4116,7 +4116,7 @@ Identifiers can be longer, but this will be more costly at runtime. - + Maximum size allowed for a single text node when building a tree. This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it. diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index 45b0cd92..72897b5c 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -530,7 +530,7 @@ - + @@ -4079,7 +4079,7 @@ - + @@ -11414,7 +11414,7 @@ - + @@ -16331,7 +16331,7 @@ - + @@ -18382,7 +18382,7 @@ - + @@ -18916,7 +18916,7 @@ - + @@ -19582,7 +19582,7 @@ - + @@ -19648,7 +19648,7 @@ - + @@ -22503,7 +22503,7 @@ - + @@ -24445,7 +24445,7 @@ - + @@ -25801,7 +25801,7 @@ - + @@ -25937,7 +25937,7 @@ - + @@ -27654,7 +27654,7 @@ - + @@ -28132,7 +28132,7 @@ - + diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa index 5a673bb8..73f12e3a 100644 --- a/doc/libxml2.xsa +++ b/doc/libxml2.xsa @@ -8,14 +8,17 @@ libxml2 - 2.7.1 - Sep 1 2008 + 2.7.2 + Oct 3 2008 http://xmlsoft.org/ - - Portability fix: Borland C fix (Moritz Both) - - Bug fixes: python serialization wrappers, XPath QName corner - case handking and leaks (Martin) - - Improvement: extend the xmlSave to handle HTML documents and trees - - Cleanup: python serialization wrappers + - 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 diff --git a/doc/news.html b/doc/news.html index 31a0cf0b..50d59a1a 100644 --- a/doc/news.html +++ b/doc/news.html @@ -12,7 +12,19 @@ to help those

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

Here is the list of public releases:

2.7.2: Oct 3 2008

  • Portability fix: fix solaris compilation problem, fix compilation +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.
    • +
    • 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).
    • +

    2.7.2: Oct 3 2008

    • 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 diff --git a/doc/xml.html b/doc/xml.html index b4432298..c28c31de 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -727,6 +727,21 @@ 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.
      • +
      • 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).
      • +

      2.7.2: Oct 3 2008

      • Portability fix: fix solaris compilation problem, fix compilation diff --git a/include/libxml/parserInternals.h b/include/libxml/parserInternals.h index d7184f61..a5e75b5e 100644 --- a/include/libxml/parserInternals.h +++ b/include/libxml/parserInternals.h @@ -31,13 +31,13 @@ extern "C" { XMLPUBVAR unsigned int xmlParserMaxDepth; /** - * XML_MAX_TEXT_LENGHT: + * XML_MAX_TEXT_LENGTH: * * Maximum size allowed for a single text node when building a tree. * This is not a limitation of the parser but a safety boundary feature, * use XML_PARSE_HUGE option to override it. */ -#define XML_MAX_TEXT_LENGHT 10000000 +#define XML_MAX_TEXT_LENGTH 10000000 /** * XML_MAX_NAMELEN: diff --git a/python/setup.py b/python/setup.py index 50585c8a..1fc700c1 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.2", + version = "2.7.3", description = descr, author = "Daniel Veillard", author_email = "veillard@redhat.com",