xmlsave.c


Log

Author Commit Date CI Message
Daniel Veillard 9a00fd29 2005-11-09T08:56:26 applied patch from Geert Jansen to implement the save function to a * xmlsave.c xmlIO.c include/libxml/xmlIO.h include/libxml/xmlsave.h: applied patch from Geert Jansen to implement the save function to a xmlBuffer, and a bit of cleanup. Daniel
Rob Richards 2e2691b5 2005-10-21T14:45:16 prevent output of fragment tags when serializing XHTML. * xmlsave.c: prevent output of fragment tags when serializing XHTML.
Daniel Veillard 33b20b70 2005-09-12T21:43:20 release of 2.6.22 updated doc and rebuild. added XML_SAVE_NO_XHTML * NEWS configure.in doc//*: release of 2.6.22 updated doc and rebuild. * xmlsave.c include/libxml/xmlsave.h: added XML_SAVE_NO_XHTML xmlSaveOption * xmlschemas.c: minor cleanups Daniel
Daniel Veillard dbd61053 2005-09-12T14:03:26 applied second patch from David Madore to be less intrusive when handling * xmlsave.c: applied second patch from David Madore to be less intrusive when handling scripts and style elements in XHTML1 should fix #316041 * test/xhtml1 result//xhtml1\*: updated the test accordingly Daniel
Rob Richards 2ce51c06 2005-09-12T12:16:35 add XML_SAVE_NO_EMPTY save option and use option from xmlSaveCtxtPtr * include/libxml/xmlsave.h xmlsave.c: add XML_SAVE_NO_EMPTY save option and use option from xmlSaveCtxtPtr rather than global during output. * xmlsave.c: fix some output formatting for meta element under XHTML.
Daniel Veillard 60071aec 2005-09-12T00:03:43 fix bug #316034, where xmlElemDump() can crash if given a document pointer * xmlsave.c: fix bug #316034, where xmlElemDump() can crash if given a document pointer instead of an element Daniel
Rob Richards 07b72007 2005-09-03T14:56:36 check for NULL to prevent crash with meta elements * xmlsave.c: check for NULL to prevent crash with meta elements
Rob Richards 31f73028 2005-08-26T15:33:26 move handling of meta element for http-equiv in XHTML docs to * xmlsave.c: move handling of meta element for http-equiv in XHTML docs to serialization and no longer modify internal tree.
Daniel Veillard 100e1803 2005-08-08T14:44:11 fixed #145092 by adding an xmlSaveOption to omit XML declaration Daniel * xmlsave.c include/libxml/xmlsave.h: fixed #145092 by adding an xmlSaveOption to omit XML declaration Daniel
Daniel Veillard 7cd517c2 2005-05-20T18:47:22 applied patch from Mark Vakoc fixing saving of CDATA with NULL content. * xmlsave.c: applied patch from Mark Vakoc fixing saving of CDATA with NULL content. Daniel
Daniel Veillard 5d4644ef 2005-04-01T13:11:58 revamped the elfgcchack.h format to cope with gcc4 change of aliasing * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel
Daniel Veillard 64354ea7 2005-03-31T15:22:56 fixed bug reported by Petr Pajas, in the absence of encoding UTF-8 should * xmlsave.c: fixed bug reported by Petr Pajas, in the absence of encoding UTF-8 should really be assumed. This may break if the HTTP headers indicates for example ISO-8859-1 since this then becomes a well formedness error. Daniel
William M. Brack 12d37ab6 2005-02-21T13:54:07 fixed problem when XMLLINT_INDENT was empty (bug 168033). fixed * xmlsave.c: fixed problem when XMLLINT_INDENT was empty (bug 168033). * xpath.c: fixed compilation warning, no change to logic. * xmlschemastypes.c: fixed compilation warning, no change to logic.
William M. Brack 4e1c2db8 2005-02-11T10:58:55 fixed compilation warning changed xmlWarningMsg so ctxt->errNo is not set * dict.c: fixed compilation warning * parser.c: changed xmlWarningMsg so ctxt->errNo is not set * xmllint.c: changed to return non-zero status if error on xinclude processing * xmlsave.c: minor deletion of a redundant condition statement
Daniel Veillard 6fc5db00 2005-01-16T00:05:58 trying to fix at least the message from bug #158628 added first xmlsave * xmlschemastypes.c: trying to fix at least the message from bug #158628 * include/libxml/xmlsave.h xmlsave.c: added first xmlsave option for format, c.f. bug #159997 Daniel
Daniel Veillard ce682bc2 2004-11-05T17:22:25 autogenerate a minimal NULL value sequence for unknown pointer types This * gentest.py testapi.c: autogenerate a minimal NULL value sequence for unknown pointer types * HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c xpointer.c: This uncovered an impressive amount of entry points not checking for NULL pointers when they ought to, closing all the open gaps. Daniel
Daniel Veillard ce244ad5 2004-11-05T10:03:46 fixed the way the generator works, extended the testing, especially with * gentest.py testapi.c: fixed the way the generator works, extended the testing, especially with more real trees and nodes. * HTMLtree.c tree.c valid.c xinclude.c xmlIO.c xmlsave.c: a bunch of real problems found and fixed. * entities.c: fix error reporting to go through the new handlers Daniel
Daniel Veillard 3d97e669 2004-11-04T10:49:00 extending the tests coverage more fixes and cleanups Daniel * gentest.py testapi.c: extending the tests coverage * HTMLtree.c tree.c xmlsave.c xpointer.c: more fixes and cleanups Daniel
Daniel Veillard 41c4a753 2004-09-08T20:55:38 fixed 2 problems raised by #152140, one which is that notation not in the * valid.c xmlsave.c: fixed 2 problems raised by #152140, one which is that notation not in the internal subset should not be saved, and the second more nasty on an error saving NOTATIONs, if there is a proof that nobody uses notations ! Daniel
Daniel Veillard da3b29a5 2004-08-14T11:15:13 added a dumb rule to able to compile tst.c when people submit a sample * Makefile.am: added a dumb rule to able to compile tst.c when people submit a sample test program * xmlschemas.c: applied small patch from Eric Haszlakiewicz to document xmlSchemasSetValidErrors() limitations, #141827 * error.c: Add information in generic and structured error setter functions that this need to be done per thread #144308 * xmlsave.c: fixed bug whith missing NOTATION(s) serialization bug #144162 * doc/xmllint.xml: typo fix #144840 Daniel
Daniel Veillard a2351322 2004-06-27T12:08:10 hack based on Arjan van de Ven suggestion to reduce ELF footprint and * elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de Ven suggestion to reduce ELF footprint and generated code. Based on aliasing of libraries function to generate direct call instead of indirect ones * doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic generation of elfgcchack.h based on the API description, extended the API description to show the conditionals configuration flags required for symbols. * nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup * doc/*: regenerated the docs. Daniel
Daniel Veillard 3995bc36 2004-05-15T18:57:31 start adding API for escaping customization. Daniel * xmlsave.c include/libxml/xmlsave.h: start adding API for escaping customization. Daniel
Daniel Veillard 7a6361f7 2004-05-15T16:37:50 more xmlSave cleanup, optimization and refactoring Daniel * xmlsave.c: more xmlSave cleanup, optimization and refactoring Daniel
Daniel Veillard 83a75e05 2004-05-14T21:50:42 third pass at the escaping refactoring. Daniel * xmlIO.c xmlsave.c: third pass at the escaping refactoring. Daniel
Daniel Veillard ee8960bc 2004-05-14T03:25:14 second pass on escaping handling, start to looks better, need to be * xmlIO.c xmlsave.c include/libxml/xmlIO.h: second pass on escaping handling, start to looks better, need to be completed and added directly at the saving context level. Daniel
Daniel Veillard 5d1a4d81 2004-05-13T14:31:25 first pass at refactoring the escape on save routines for better * xmlIO.c xmlsave.c include/libxml/xmlIO.h: first pass at refactoring the escape on save routines for better performances (less malloc) and more flexibility using the new saving context. Preliminary work, interface will change. Daniel
Daniel Veillard f0244cea 2004-05-09T23:48:39 apply fix for XHTML1 formating from Nick Wellnhofer fixes bug #141266 * xmlsave.c: apply fix for XHTML1 formating from Nick Wellnhofer fixes bug #141266 * test/xhtmlcomp result//xhtmlcomp*: added the specific regression test Daniel
Daniel Veillard 656ce948 2004-04-30T23:11:45 Fixed bug #141529 i.e. various problems when building with --without-html * xmllint.c xmlsave.c python/generator.py python/libxml.c: Fixed bug #141529 i.e. various problems when building with --without-html Daniel
Daniel Veillard e2161a69 2004-04-29T17:14:25 fix a nasty problem with reading over the end fix a reported memory leak * xmlreader.c: fix a nasty problem with reading over the end * xmlsave.c: fix a reported memory leak apparently Daniel
Daniel Veillard 377e1a90 2004-04-16T16:30:05 move the TODO as comments as the function while not finished are usable * xmlsave.c: move the TODO as comments as the function while not finished are usable as-is * xmlschemas.c include/libxml/xmlerror.h: patch from Kasimier Buchcik implementing union * test/schemas/union_0_0.x* result/schemas/union_0_0*: added example * python/Makefile.am: applied fix from Mike Hommey Daniel
Daniel Veillard 753086ac 2004-03-28T16:12:44 optimize indentation based on the new context Daniel * xmlsave.c: optimize indentation based on the new context Daniel
Daniel Veillard 32b7cdb6 2004-03-15T13:46:37 switched the output routines to use the new context. Daniel * xmlsave.c: switched the output routines to use the new context. Daniel
Daniel Veillard 1a8741c8 2004-03-04T13:40:59 commiting the new xmlsave module before the actuall big code change. * Makefile.am tree.c xmlsave.c include/libxml/xmlsave.h: commiting the new xmlsave module before the actuall big code change. Daniel