diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2008-09-01 13:08:57 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2008-09-01 13:08:57 +0000 |
| commit | da3fee406da96c344d7b5f4e0631faee74f7e11d (patch) | |
| tree | eb4ae2773cbdbd1ead5b13eb997fc204b93303d6 /HTMLtree.c | |
| parent | 1572425c2774b3fef6af062b87351a0e42c3e172 (diff) | |
| download | android_external_libxml2-da3fee406da96c344d7b5f4e0631faee74f7e11d.tar.gz android_external_libxml2-da3fee406da96c344d7b5f4e0631faee74f7e11d.tar.bz2 android_external_libxml2-da3fee406da96c344d7b5f4e0631faee74f7e11d.zip | |
Borland C fix from Moritz Both regenerate, workaround a problem for buffer
* trionan.c: Borland C fix from Moritz Both
* testapi.c: regenerate, workaround a problem for buffer testing
* xmlIO.c HTMLtree.c: new internal entry point to hide even better
xmlAllocOutputBufferInternal
* tree.c: harden the code around buffer allocation schemes
* parser.c: restore the warning when namespace names are not absolute
URIs
* runxmlconf.c: continue regression tests if we get the expected
number of errors
* Makefile.am: run the python tests on make check
* xmlsave.c: handle the HTML documents and trees
* python/libxml.c: convert python serialization to the xmlSave APIs
and avoid some horrible hacks
Daniel
svn path=/trunk/; revision=3790
Diffstat (limited to 'HTMLtree.c')
| -rw-r--r-- | HTMLtree.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -316,6 +316,11 @@ htmlIsBooleanAttr(const xmlChar *name) } #ifdef LIBXML_OUTPUT_ENABLED +/* + * private routine exported from xmlIO.c + */ +xmlOutputBufferPtr +xmlAllocOutputBufferInternal(xmlCharEncodingHandlerPtr encoder); /************************************************************************ * * * Output error handlers * @@ -566,7 +571,7 @@ htmlDocDumpMemoryFormat(xmlDocPtr cur, xmlChar**mem, int *size, int format) { if (handler == NULL) handler = xmlFindCharEncodingHandler("ascii"); - buf = xmlAllocOutputBuffer(handler); + buf = xmlAllocOutputBufferInternal(handler); if (buf == NULL) { *mem = NULL; *size = 0; |
