xmllint.c


Log

Author Commit Date CI Message
Daniel Veillard 8915c150 2008-08-26T13:05:34 strengthen some of the internal parser limits, add an XML_PARSE_HUGE * include/libxml/parser.h parser.c xmllint.c: strengthen some of the internal parser limits, add an XML_PARSE_HUGE option to bypass them all. More internal parser limits will still need to be added. Daniel svn path=/trunk/; revision=3777
Daniel Veillard 54bd29b7 2008-08-26T07:26:55 patch based on Wieant Nielander contribution to add the option of not * include/libxml/parser.h xinclude.c xmllint.c: patch based on Wieant Nielander contribution to add the option of not doing URI base fixup in XInclude Daniel svn path=/trunk/; revision=3775
Daniel Veillard 7e5c3f48 2008-07-29T16:12:31 add a C program to run the W3C test suite, work in progress add a new * runxmlconf.c Makefile.am: add a C program to run the W3C test suite, work in progress * xmllint.c: add a new option --oldxml10 to use the old parser * parser.c: fix the XML_PARSE_OLD10 processing of the new option and a bug in version parsing Daniel svn path=/trunk/; revision=3757
Daniel Veillard 5608b174 2008-01-11T06:53:15 apply fix from Stefan Kost to avoid a crash in xmllint, fixes 504284 * xmllint.c: apply fix from Stefan Kost to avoid a crash in xmllint, fixes 504284 Daniel svn path=/trunk/; revision=3673
Daniel Veillard ed12138b 2007-04-17T12:33:19 "xmllint unusable on win32" so applied a libxml2 patch from Christian * xmllint.c catalog.c: "xmllint unusable on win32" so applied a libxml2 patch from Christian Ehrlicher Daniel svn path=/trunk/; revision=3599
Daniel Veillard 26a45c81 2006-10-20T12:55:34 fix comment for xmlDocSetRootElement c.f. #351981 order XPath elements * tree.c: fix comment for xmlDocSetRootElement c.f. #351981 * xmllint.c: order XPath elements when using --shell Daniel
Daniel Veillard dab39b56 2006-10-16T23:22:10 started to switch xmllint to use xmlSaveDoc to test #342556 fixed #342556 * xmllint.c: started to switch xmllint to use xmlSaveDoc to test #342556 * xmlsave.c: fixed #342556 easy and a whole set of problems with encodings, BOM and xmlSaveDoc() Daniel
Daniel Veillard f1a27c65 2006-10-13T22:33:03 added --html --memory to test htmlReadMemory to test #321632 added various * xmllint.c: added --html --memory to test htmlReadMemory to test #321632 * HTMLparser.c: added various initialization calls which may help #321632 but not conclusive * testapi.c tree.c include/libxml/tree.h: fixed compilation with --with-minimum --with-sax1 and --with-minimum --with-schemas fixing #326442 Daniel
Daniel Veillard 75acfeea 2006-07-13T06:29:56 applied patch from Andrew W. Nosenko to expose if zlib support was * configure.in parser.c xmllint.c include/libxml/parser.h include/libxml/xmlversion.h.in: applied patch from Andrew W. Nosenko to expose if zlib support was compiled in, in the header, in the feature API and in the xmllint --version output. Daniel
Daniel Veillard 968d6439 2006-04-25T16:17:53 applied patch from Gary Coady to really make sure xmllint --nonet would * xmllint.c: applied patch from Gary Coady to really make sure xmllint --nonet would not reach the network, should fix #337483. Daniel
Daniel Veillard ea71f5dd 2006-02-19T16:55:55 fix an error report when using --path and --valid closes bug #331290 * xmllint.c: fix an error report when using --path and --valid closes bug #331290 Daniel
Daniel Veillard 602434de 2005-09-12T09:20:31 damn XML_FEATURE_UNICODE clashes with Expat headers rename to XML_WITH_ to * include/libxml/parser.h parser.c xmllint.c: damn XML_FEATURE_UNICODE clashes with Expat headers rename to XML_WITH_ to fix bug #316053. * doc/Makefile.am: build devhelp before the examples. * doc/*: regenerated the API Daniel
Daniel Veillard 8c6e6531 2005-09-08T21:39:47 patch from Stéphane Bidoul to compile without schematron Daniel * xmllint.c: patch from Stéphane Bidoul to compile without schematron Daniel
Daniel Veillard 0bcc7f6a 2005-09-04T21:39:03 updated the docs and rebuild releasing 2.6.21 removed * NEWS elfgcchack.h testapi.c doc/*: updated the docs and rebuild releasing 2.6.21 * include/libxml/threads.h threads.c: removed xmlIsThreadsEnabled() * threads.c include/libxml/threads.h xmllint.c: added the more generic xmlHasFeature() as suggested by Bjorn Reese, xmllint uses it. Daniel
Daniel Veillard 8874b94c 2005-08-25T13:19:21 added a parser XML_PARSE_COMPACT option to allocate small text nodes (less * HTMLparser.c parser.c SAX2.c debugXML.c tree.c valid.c xmlreader.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h: added a parser XML_PARSE_COMPACT option to allocate small text nodes (less than 8 bytes on 32bits, less than 16bytes on 64bits) directly within the node, various changes to cope with this. * result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: this slightly change the output Daniel
Daniel Veillard 465a000b 2005-08-22T12:07:04 fixed an uninitialized variable extended the API to add the parser, * valid.c: fixed an uninitialized variable * xmlregexp.c include/libxml/xmlregexp.h: extended the API to add the parser, serializer and some debugging * include/libxml/xmlversion.h.in: made the new support compiled by default if Schemas is included * testRegexp.c: cleanup and integration of the first part of the new code with a special switch * xmllint.c: show up Expr in --version if compiled in * include/libxml/tree.h: moved the xmlBuffer definition up Daniel
Daniel Veillard c740a17f 2005-07-31T12:17:24 fixing the loop bug, fixing schematron text error rendering started * schematron.c xmllint.c: fixing the loop bug, fixing schematron text error rendering * Makefile.am result/schematron/* test/schematron/zvon1*.sct: started integrating within "make tests" Daniel
Daniel Veillard e70375cd 2005-07-30T21:09:12 commiting work done on the plane last week-end Daniel * schematron.c xmllint.c include/libxml/schematron.h: commiting work done on the plane last week-end Daniel
Daniel Veillard 24505b0f 2005-07-28T23:49:35 a lot of small cleanups based on Linus' sparse check output. Daniel * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c runsuite.c runtest.c schematron.c testHTML.c testReader.c testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of small cleanups based on Linus' sparse check output. Daniel
Daniel Veillard d4501d77 2005-07-24T14:27:16 started adding schematron to the xmllint tool, the report infrastructure * schematron.c xmllint.c: started adding schematron to the xmllint tool, the report infrastructure is gonna be fun. Daniel
Daniel Veillard ffa3c749 2005-07-21T13:24:09 applied a patch from Marcus Boerger to fix problems with calling * error.c globals.c parser.c runtest.c testHTML.c testSAX.c threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlerror.h include/libxml/xmlexports.h include/libxml/xmlschemas.h: applied a patch from Marcus Boerger to fix problems with calling conventions on Windows this should fix #309757 Daniel
Daniel Veillard 78dfc9f0 2005-07-10T22:30:30 preparing release 2.6.20 removed a compilation problem Daniel * Makefile.am NEWS configure.in doc/*: preparing release 2.6.20 * xmllint.c: removed a compilation problem Daniel
Daniel Veillard f10ae12c 2005-07-10T19:03:16 fixed a typo pointed by Jeroen Ruigrok increased the APIs for xmlReader * doc/xmllint.1 doc/xmllint.html doc/xmllint.xml: fixed a typo pointed by Jeroen Ruigrok * include/libxml/xmlreader.h include/libxml/xmlschemas.h: increased the APIs for xmlReader schemas validation support * xmllint.c xmlreader.c xmlschemas.c: xmlReader schemas validation implementation and testing as xmllint --stream --schema ... Daniel
Daniel Veillard 971771ef 2005-07-09T17:32:57 fix for #309761 from Dylan Shell added xmlSchemaSAXPlug and * parser.c: fix for #309761 from Dylan Shell * xmlschemas.c include/libxml/xmlschemas.h: added xmlSchemaSAXPlug and xmlSchemaSAXUnplug generic APIs for SAX Schemas validation. * xmllint.c: couple of fixes plus added descriptions for --sax and --sax1 Daniel
Daniel Veillard f0af8ec6 2005-07-08T17:27:33 fix some potential leaks in error cases. added --sax, to allow testing of * parser.c: fix some potential leaks in error cases. * xmllint.c: added --sax, to allow testing of --schemas --sax and various other combinations. * xmlschemas.c: fix a couple of tiny problems in xmlSchemaValidateStream() Daniel
Daniel Veillard c935253f 2005-07-04T14:25:34 cleanups, logfile and portability fixed a memory leak Daniel * runsuite.c runtest.c: cleanups, logfile and portability * xmllint.c: fixed a memory leak Daniel
Daniel Veillard 39e5c890 2005-07-03T22:48:50 fixing a leak detected by testapi in xmlDOMWrapAdoptNode, and fixing * testapi.c tree.c: fixing a leak detected by testapi in xmlDOMWrapAdoptNode, and fixing another side effect in testapi seems to pass tests fine now. * include/libxml/parser.h parser.c: xmlStopParser() is no more limited to push mode * error.c: remove a warning * runtest.c xmllint.c: avoid compilation errors if only some parts of the library are compiled in. Daniel
Daniel Veillard 81562d2d 2005-06-15T13:27:56 if sax1 is used and input is a file use the old API xmlParseFile() * xmllint.c: if sax1 is used and input is a file use the old API xmlParseFile() * xmlschemas.c: cleanups * doc/* testapi.c elfgcchack.h: rebuilt to add python bindings for the new functions in Schemas. Daniel
Aleksey Sanin 2650df1a 2005-06-06T17:16:50 fixed xml attributes processing bug in exc c14n added --exc-c14n command * c14n.c: fixed xml attributes processing bug in exc c14n * xmllint.c: added --exc-c14n command line option
Daniel Veillard c284c64f 2005-03-31T10:24:24 use XML_SOCKLEN_T instead of SOCKLEN_T since apparently IBM can't avoid * config.h.in configure.in nanoftp.c nanohttp.c xmllint.c macos/src/config-mac.h: use XML_SOCKLEN_T instead of SOCKLEN_T since apparently IBM can't avoid breaking common defines #166922 Daniel
Daniel Veillard 9fcb491c 2005-03-16T12:57:31 do not package .la files applied patch from Gerry Murphy for xmllint * libxml.spec.in: do not package .la files * xmllint.c: applied patch from Gerry Murphy for xmllint return code * xmlschemastypes.c: fixed a couple of missing tests of parameters at public API entry points. Daniel
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 2b2e02d6 2005-02-05T23:20:22 fixed implementation for | added a specific regression test Daniel * pattern.c xmllint.c: fixed implementation for | * test/pattern/conj.* result/pattern/conj: added a specific regression test Daniel
Daniel Veillard d4301aba 2005-02-03T22:24:10 use the walker to test the patterns instead of the normal reader bug fixes * Makefile.am: use the walker to test the patterns instead of the normal reader * pattern.c xmllint.c: bug fixes in the train including fixing the stupid build break. Daniel
Daniel Veillard 16ef800b 2005-01-31T00:27:50 bugfixes around the streaming patterns Daniel * pattern.c xmllint.c: bugfixes around the streaming patterns Daniel
Daniel Veillard f9d16914 2005-01-30T22:36:30 added first test for the patterns a few fixes Daniel * Makefile.am configure.in result/pattern/simple test/pattern/simple.*: added first test for the patterns * pattern.c xmllint.c: a few fixes Daniel
Daniel Veillard 2fc6df95 2005-01-30T18:42:55 added a streaming pattern detector for a subset of XPath, should help * pattern.c include/libxml/pattern.h xmllint.c: added a streaming pattern detector for a subset of XPath, should help Kasimier for identity constraints * python/generator.py: applied Stephane Bidoul patch to find paths without breaking. Daniel
Daniel Veillard ce1648b1 2005-01-04T15:10:22 applied DSO support patch 2 from Joel Reed Daniel * Makefile.am config.h.in configure.in error.c libxml-2.0.pc.in testModule.c testdso.c xml2-config.in xmllint.c xmlmodule.c include/libxml/Makefile.am include/libxml/xmlerror.h include/libxml/xmlmodule.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in: applied DSO support patch 2 from Joel Reed Daniel
Daniel Veillard d0cf7f6e 2004-11-09T16:17:02 integrated in "make tests" added -q option, and more conditional features * Makefile.am gentest.py testapi.c: integrated in "make tests" added -q option, and more conditional features fixes * catalog.c debugXML.c parser.c testThreads.c xmllint.c xmlschemastypes.c xmlwriter.cinclude/libxml/catalog.h include/libxml/debugXML.h: various compilation and conditional cleanups. * doc/*: regenerated Daniel
Daniel Veillard 95ddcd32 2004-10-26T21:53:55 applied fixes for a couple of potential security problems more fixes on * nanoftp.c: applied fixes for a couple of potential security problems * tree.c valid.c xmllint.c: more fixes on the string interning checks Daniel
Daniel Veillard 4edd3ed8 2004-09-20T20:03:01 added --timing --copy timing for the copy applied patch from Craig Berry * xmllint.c: added --timing --copy timing for the copy * vms/build_libxml.com: applied patch from Craig Berry to build with recent releases Daniel
Daniel Veillard 0bff36dd 2004-08-31T09:37:03 also produce a tar ball with just the sources added --path option and * Makefile.am: also produce a tar ball with just the sources * xmllint.c: added --path option and --load-trace options to xmllint, RFE #147740 based on xsltproc versions * doc/xmllint.* doc/*: updated the man page and rebuilt Daniel
Daniel Veillard 6ebf3c4c 2004-08-22T13:11:39 trying to remove some warning when compiling on Fedora Core 3 and 64bits * xmllint.c xpath.c include/libxml/xpath.h include/libxml/xpathInternals.h python/libxml.c python/libxml_wrap.h: trying to remove some warning when compiling on Fedora Core 3 and 64bits Daniel
Daniel Veillard c14c3892 2004-08-16T12:34:50 added help for new set shell command added parser option to not generate * debugXML.c: added help for new set shell command * xinclude.c xmllint.c xmlreader.c include/libxml/parser.h: added parser option to not generate XInclude start/end nodes, added a specific option to xmllint to test it fixes #130769 * Makefile.am: regression test the new feature * doc/xmllint.1 doc/xmllint.xml: updated man page to document option. Daniel
Daniel Veillard 25048d82 2004-08-14T22:37:54 added a --c14n option to canonicalize the output should close the RFE * xmllint.c: added a --c14n option to canonicalize the output should close the RFE #143226 Daniel
William M. Brack 3403adde 2004-06-27T02:07:51 new files for running regression tests under Python. Not yet complete, but * regressions.py, regressions.xml: new files for running regression tests under Python. Not yet complete, but should provide good testing under both Linux and Windows. * testHTML.c, testSAX.c, xmllint.c: changed the 'fopen' used for --push testing to include the 'rb' param when compiled under Windows.
William M. Brack 8304d87d 2004-06-08T13:29:32 fixed missing error return code for schema validation (bug 143880), also * xmllint.c: fixed missing error return code for schema validation (bug 143880), also changed over to an enum for defining the error return codes for all conditions.
Daniel Veillard 3af3b596 2004-05-05T19:22:30 Some reformating of recent code, Daniel
Daniel Veillard 87076046 2004-05-03T22:54:49 adding a --maxmem option to check memory used. Daniel * xmllint.c: adding a --maxmem option to check memory used. 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 a2d51fc3 2004-04-30T22:25:59 fixing bug #141384 where the reader didn't call the deregistering * xmllint.c xmlreader.c: fixing bug #141384 where the reader didn't call the deregistering functions. Also added the check to xmllint --stream --chkregister . Daniel
Daniel Veillard ebe25d49 2004-03-25T09:35:49 applied patch from Mark Vadoc avoiding using xmlParse* option and use * debugXML.c testXPath.c xmllint.c xmlschemastypes.c: applied patch from Mark Vadoc avoiding using xmlParse* option and use xmlRead* instead * win32/Makefile.bcb: patch to Borland C++ builder from Eric Zurcher to avoid problems with some pathnames. Daniel
Daniel Veillard 500a1de5 2004-03-22T15:22:58 applied patch from Alfred Mickautsch for better DTD support. fixed bug * xmlwriter.c include/libxml/xmlwriter.h doc/* : applied patch from Alfred Mickautsch for better DTD support. * SAX2.c HTMLparser.c parser.c xinclude.c xmllint.c xmlreader.c xmlschemas.c: fixed bug #137867 i.e. fixed properly the way reference counting is handled in the XML parser which had the side effect of removing a lot of hazardous cruft added to try to fix the problems associated as they popped up. * xmlIO.c: FILE * close fixup for stderr/stdout Daniel
Daniel Veillard f54cd533 2004-02-25T11:52:31 fixing compilation and link option when configuring with --without-valid * debugXML.c relaxng.c valid.c xinclude.c xmllint.c xmlreader.c: fixing compilation and link option when configuring with --without-valid should fix #135309 Daniel
Daniel Veillard 49138f19 2004-02-19T12:58:36 some clarification in xmlDocDumpMemory() documentation fixed xmllint * tree.c: some clarification in xmlDocDumpMemory() documentation * xmllint.c: fixed xmllint --stream --timing to get timings back Daniel
Daniel Veillard d21f61b5 2003-12-29T10:31:21 issue validation status on stderr, not stdout as suggested by Pawel * xmllint.c: issue validation status on stderr, not stdout as suggested by Pawel Palucha * result/relaxng/*: this change slightly all the output from RNG regressions. Daniel
Daniel Veillard 3df01181 2003-12-10T10:17:51 fixing bug #119264 xmllint failing to report serialization errors in some * xmllint.c: fixing bug #119264 xmllint failing to report serialization errors in some cases. Daniel
Daniel Veillard 5a30b2d1 2003-12-09T13:54:39 some flags were not passed down correctly as parsing options. Fixes * xmllint.c: some flags were not passed down correctly as parsing options. Fixes #126806 Daniel
Daniel Veillard e74d2e1c 2003-12-09T11:35:37 augmented the XInclude API to be able to pass XML parser flags down to the * xinclude.c xmllint.c xmlreader.c include/libxml/xinclude.h include/libxml/xmlerror.h: augmented the XInclude API to be able to pass XML parser flags down to the Inclusion process. Also resynchronized with the Last Call W3C Working Draft 10 November 2003 for the xpointer attribute. * Makefile.am test/XInclude/docs/nodes[23].xml result/XInclude/*: augmented the tests for the new namespace and testing the xpointer attribute, changed the way error messages are tested * doc/*: regenerated the documentation Daniel
Daniel Veillard ffa7b7e2 2003-12-05T16:10:21 fixed the pattern interfaces but not yet the parser to handle the * pattern.c xmlreader.c xmllint.c include/libxml/pattern.h include/libxml/xmlreader.h: fixed the pattern interfaces but not yet the parser to handle the namespaces. * doc/examples/reader3.c doc/*: fixed the example, rebuilt the docs. Daniel
Daniel Veillard b3de70c2 2003-12-02T22:32:15 adding the pattern node selection code. Inheried in part from libxslt but * pattern.c include/libxml/pattern.h: adding the pattern node selection code. Inheried in part from libxslt but smaller. * Makefile.am configure.in include/libxml/xmlversion.h.in: integrated the pattern module, made it a configure time option * xmllint.c: added --pattern to test when doing --stream Daniel
Daniel Veillard 42fd4126 2003-11-04T08:47:48 change --html to make sure we use the HTML serialization rule by default * xmllint.c: change --html to make sure we use the HTML serialization rule by default when HTML parser is used, add --xmlout to allow to force the XML serializer on HTML. * HTMLtree.c: ugly tweak to fix the output on <p> element and solve #125093 * result/HTML/*: this changes the output of some tests Daniel
Daniel Veillard 61b9338c 2003-11-03T14:28:31 implemented the XML_PARSE_NONET parser option. converted xmllint.c to use * parser.c xmlIO.c include/libxml/parserInternals.h: implemented the XML_PARSE_NONET parser option. * xmllint.c: converted xmllint.c to use the option instead of relying on the global resolver variable. Daniel
Daniel Veillard 7899c5c5 2003-11-03T12:31:38 adding XInclude support to the reader interface. Lot of testing of the * xinclude.c xmlreader.c include/libxml/xinclude.h: adding XInclude support to the reader interface. Lot of testing of the walker, various bug fixes. * xmllint.c: added --walker and made sure --xinclude --stream --debug works as expected * Makefile.am result/dtd11.rdr result/ent6.rdr test/dtd11 test/ent6 result/XInclude/*.rdr: added regression tests for the walker and XInclude xmlReader support, had to slightly change a couple of tests because the walker can't distinguish <foo/> from <foo></foo> Daniel
William M. Brack 1d75c8a8 2003-10-27T13:48:16 fixed warning message from IRIX (bug 125182) removed tabs, replaced with * xmllint.c: fixed warning message from IRIX (bug 125182) * python/libxml.py: removed tabs, replaced with spaces (bug 125572)
Daniel Veillard 198c1bfc 2003-10-20T17:07:41 removing xmldwalk module since it got merged with the xmlreader. cleanup * Makefile.am configure.in xmldwalk.c xmlreader.c include/libxml/Makefile.am include/libxml/xmldwalk.h include/libxml/xmlversion.h.in: removing xmldwalk module since it got merged with the xmlreader. * parser.c: cleanup * win32/libxml2.def.src python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * python/tests/Makefile.am python/tests/reader7.py python/tests/walker.py: adding regression testing for the new xmlreader APIs, new APIs for reader creation, including makeing reader "walker" operating on preparsed document trees. Daniel
Daniel Veillard 828ce83d 2003-10-08T19:19:10 more cleanup through the I/O error path Daniel * error.c tree.c xmlIO.c xmllint.c: more cleanup through the I/O error path Daniel
Daniel Veillard 05d987b4 2003-10-08T11:54:57 first pass at cleaning up error handling in the I/O module. Daniel * xmlIO.c xmllint.c include/libxml/xmlerror.h: first pass at cleaning up error handling in the I/O module. Daniel
Daniel Veillard 73b013fc 2003-09-30T12:36:01 added a new configure option --with-push, some cleanups, chased code size * HTMLparser.c Makefile.am configure.in legacy.c parser.c parserInternals.c testHTML.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/xmlversion.h.in: added a new configure option --with-push, some cleanups, chased code size anomalies. Now a library configured --with-minimum is around 150KB, sounds good enough. Daniel
Daniel Veillard 8127390f 2003-09-30T00:43:48 added 2 new configure option: --with-reader --with-sax1 to allow removing * Makefile.am SAX.c SAX2.c configure.in globals.c parser.c parserInternals.c testReader.c testSAX.c xmlIO.c xmllint.c xmlreader.c example/gjobread.c include/libxml/xmlversion.h.in: added 2 new configure option: --with-reader --with-sax1 to allow removing the reader or non-xmlReadxxx() interfaces. Daniel
Daniel Veillard 652327a7 2003-09-29T18:02:38 Adding a configure option to remove tree manipulation code which is not * configure.in entities.c tree.c valid.c xmllint.c include/libxml/tree.h include/libxml/xmlversion.h.in: Adding a configure option to remove tree manipulation code which is not strictly needed by the parser. Daniel
Daniel Veillard a9cce9cd 2003-09-29T13:20:24 Okay this is scary but it is just adding a configure option to disable * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
Daniel Veillard 4432df23 2003-09-28T18:58:27 cleanup, creating a new legacy.c module, made sure make tests ran in * Makefile.am: cleanup, creating a new legacy.c module, made sure make tests ran in reduced conditions * SAX.c SAX2.c configure.in entities.c globals.c parser.c parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in: increased the modularization, allow to configure out validation code and legacy code, added a configuration option --with-minimum compiling only the mandatory code which then shrink to 200KB. Daniel
Daniel Veillard dca8cc79 2003-09-26T13:53:14 rebuilt the API added the new options --nocdata and --nsclean to remove * doc/libxml2-api.xml: rebuilt the API * xmllint.c doc/xmllint.1 doc/xmllint.xml: added the new options --nocdata and --nsclean to remove CDATA section and surperfluous namespace declarations * parser.c SAX2.c: implementation of the 2 new options Daniel
Daniel Veillard 9475a352 2003-09-26T12:47:50 added the same htmlRead APIs than their XML counterparts new parser * HTMLparser.c testHTML.c xmllint.c include/libxml/HTMLparser.h: added the same htmlRead APIs than their XML counterparts * include/libxml/parser.h: new parser options, not yet implemented, added an options field to the context. * tree.c: patch from Shaun McCance to fix bug #123238 when ]]> is found within a cdata section. * result/noent/cdata2 result/cdata2 result/cdata2.rdr result/cdata2.sax test/cdata2: add one more cdata test Daniel
Daniel Veillard 60942def 2003-09-25T21:05:58 Changed the new xmlRead/xmlCtxtRead APIs to have an extra base URL * parser.c xmllint.c doc/libxml2-api.xml include/libxml/parser.h: Changed the new xmlRead/xmlCtxtRead APIs to have an extra base URL parameter when not loading from a file or URL. Daniel
Daniel Veillard e96a2a4b 2003-09-24T21:23:56 adding repeated parsing and validating tests make the new DOM tree * Makefile.am: adding repeated parsing and validating tests * SAX2.c parser.c tree.c include/libxml/parser.h: make the new DOM tree building interfaces use the dictionary from the parsing context to build the element and attributes names as well as formatting spaces and short text nodes * include/libxml/dict.h dict.c: added some reference counting for xmlDictPtr because they can be shared by documents and a parser context. * xmlreader.c: a bit of cleanup, remove the specific tree freeing functions and use the standard ones now. * xmllint.c: add --nodict * python/libxml.c: fix a stupid bug so that ns() works on attribute nodes. Daniel
Daniel Veillard 16fa96c5 2003-09-23T21:50:54 adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... * parser.c include/libxml/parser.h: adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... xmlReadIO() and xmlCtxtReadDoc() ... xmlCtxtReadIO(). That with a clear define of xmlParserOption, xmlCtxtUseOptions() should simplify custom parsing without being tempted to use global variables, and xmlCtxtReset() should allow reuse of a context for multiple parsing. * xmllint.c: switched to use xmlReadXXX, allow options to be used simultaneously with less troubles. * tree.c: simple warning removal * doc/apibuild.py: small fix * doc/libxml2-api.xml win32/libxml2.def.src: updated Daniel
Daniel Veillard 5335055e 2003-09-18T13:35:51 add streaming on memory regression tests, found bad bugs in the reader * Makefile.am: add streaming on memory regression tests, found bad bugs in the reader interface * xmlreader.c: fixing bugs w.r.t. very large names, and special condition in end of file. * xmlIO.c tree.c include/libxml/tree.h include/libxml/xmlIO.h: adding immutable buffers, and parser input based on those, but this should not be used (yet) for general parsing * parser.c: added a comment about using immutable buffers for general parsing. * result/bigname.xml.rdr result/bigname2.xml.rdr: fixing the output of the regression tests * xmllint.c: using the immutable buffers when streaming on mmaped file (--stream --memory) Daniel
Daniel Veillard 8d8bf2c5 2003-09-17T19:36:25 small fix from Rob Richards for input filename fixes for --repeat and * parserInternals.c: small fix from Rob Richards for input filename * xmllint.c: fixes for --repeat and --memory/--stream for speed tests * xmlIO: adding a guard in one function Daniel
Daniel Veillard 81514ba4 2003-09-16T23:17:26 do string allocations in large pools, allowing to find if a string pertain * dict.c include/libxml/dict.h: do string allocations in large pools, allowing to find if a string pertain to a dict quickly * xmllint.c: fix --stream --repeat --timing * Makefile.am: the testThreads run output should be seen. Daniel
Daniel Veillard 877a7bd6 2003-09-13T00:16:32 removing the broken pseudo SGML DocBook parser code. Daniel * Makefile.am DOCBparser.c parserInternals.c testDocbook.c xmllint.c doc/xmllint.xml doc/xmllint.1: removing the broken pseudo SGML DocBook parser code. Daniel
Daniel Veillard 07cb8226 2003-09-10T10:51:05 Time to commit 3 days of work rewriting the parser internal, fixing bugs and migrating to SAX2 interface by default. There is some work letf TODO, like namespace validation and attributes normalization (this break C14N right now) * Makefile.am: fixed the test rules * include/libxml/SAX2.h include/libxml/parser.h include/libxml/parserInternals.h SAX2.c parser.c parserInternals.c: changing the parser, migrating to SAX2, adding new interface to switch back to SAX1 or initialize a SAX block for v1 or v2. Most of the namespace work is done below SAX, as well as attribute defaulting * globals.c: changed initialization of the default SAX handlers * hash.c tree.c include/libxml/hash.h: added QName specific handling * xmlIO.c: small fix * xmllint.c testSAX.c: provide a --sax1 switch to test the old version code path * result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code pointed out a typo in a very old test namespace Daniel
Igor Zlatkovic 19b87648 2003-08-28T12:32:04 fixed time inclusion for various compilers
Daniel Veillard 66f68e71 2003-08-18T16:39:51 added option --dtdvalidfpi for Tobias Reif Daniel * xmllint.c doc/xmllint.xml doc/xmllint.1: added option --dtdvalidfpi for Tobias Reif Daniel
Daniel Veillard 1638a47a 2003-08-14T01:23:25 Applied patch from Mikhail Grushinskiy for mingw compiler on Windows. * Makefile.am configure.in example/Makefile.am libxml.h nanoftp.c nanohttp.c xmllint.c: Applied patch from Mikhail Grushinskiy for mingw compiler on Windows. Daniel
William M. Brack 779af007 2003-08-01T15:55:39 =Bug 118559 (continued)
William M. Brack 78637da0 2003-07-31T14:47:38 fixing bug 118559
Daniel Veillard a37aab84 2003-06-09T09:10:36 applied a patch from Gman for building docs applied a patch from Gary * doc/*: applied a patch from Gman for building docs * valid.c xmllint.c include/libxml/valid.h: applied a patch from Gary Pennington to provide an allocator for xmlValidCtxt * xmlreader.c: applied patch from Jacek Konieczny fixing bug #113580 about data not being passed immediately. Daniel
Daniel Veillard e8b09e40 2003-05-13T22:14:13 added --nonet option fixing #112803 by adding --nonet when calling * xmllint.c doc/xmllint.xml: added --nonet option * doc/Makefile.am: fixing #112803 by adding --nonet when calling xsltproc or xmllint * doc/xmllint.xml doc/xmllint.1: also added --schema doc and rebuilt * HTMLparser.c: cleaned up the HTML parser context build when using an URL Daniel
Daniel Veillard 75bb3bbf 2003-05-12T15:25:56 added --schema option to run WXS schema validation tried to improve error * xmllint.c: added --schema option to run WXS schema validation * xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h: tried to improve error reporting in the Schema code, some cleanup too. Daniel
Daniel Veillard 37fc84d1 2003-05-09T19:38:15 fixing bug #104081 with xs:all with an element holding minOccurs="0" added * xmlschemas.c: fixing bug #104081 with xs:all with an element holding minOccurs="0" * test/schemas/all_* result/schemas/all_*: added some regression tests for that bug * xmllint.c xmlreader.c: patches from Joerg Schmitz-Linneweber and Garry Pennington to compile without schemas support. Daniel
Daniel Veillard a880b124 2003-04-21T21:36:41 a lot of performance work especially the speed of streaming through the * globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c xmlreader.c include/libxml/parser.h: a lot of performance work especially the speed of streaming through the reader and push interface. Some thread related optimizations. Nearly doubled the speed of parsing through the reader. Daniel
Daniel Veillard ce192eb8 2003-04-16T15:58:05 more work on RelaxNG streaming validation trying to improve the subset * relaxng.c xmllint.c: more work on RelaxNG streaming validation trying to improve the subset compiled, and more testing. * doc/downloads.html doc/xml.html doc/xmlmem.html: some updates on the documentation * test/relaxng/tutor11_1_3.xml: fixes the DTD path * result/relaxng/*.err: fix some of the outputs Daniel
Daniel Veillard f4e5576f 2003-04-15T23:32:22 implemented streaming of RelaxNG (when possible) on top of the xmlReader * relaxng.c xmlreader.c xmllint.c include/libxml/relaxng.h include/libxml/xmlreader.h: implemented streaming of RelaxNG (when possible) on top of the xmlReader interface, provided it as xmllint --stream --relaxng .rng .xml This seems to mostly work. * Makefile.am: updated to test RelaxNG streaming Daniel
Daniel Veillard f6bad798 2003-04-11T19:38:54 make sure xmllint --stream and xmllint --stream --valid returns errors * xmllint.c xmlreader.c include/libxml/xmlreader.h: make sure xmllint --stream and xmllint --stream --valid returns errors code appropriately Daniel
Daniel Veillard 99737f50 2003-03-22T14:55:50 Fixed validation bug #108858 on namespace names using entities and * SAX.c: Fixed validation bug #108858 on namespace names using entities and reported by Brent Hendricks * xmllint.c: report xmlTextReaderHasValue() result in --stream --debug output. Daniel
Aleksey Sanin 693c9bc1 2003-03-09T22:36:52 use XMLLING_INDENT environment variable to control indentation for the xmllint "--format" option
Daniel Veillard 42f12e99 2003-03-07T18:32:59 after and exchange with James Clark it appeared I had bug in URI parsing * test/xsdtest/xsdtest.xml uri.c: after and exchange with James Clark it appeared I had bug in URI parsing code ... * relaxng.c include/libxml/relaxng.h: completely revamped error reporting to not loose message from optional parts. * xmllint.c: added timing for RNG validation steps * result/relaxng/*: updated the result, all error messages changed Daniel
Daniel Veillard ef4d3bc3 2003-02-07T12:38:22 I f...ed up the default configuration of schemas and --relaxng option * configure.in xmllint.c: I f...ed up the default configuration of schemas and --relaxng option display in xmllint, pointed by Morus Walter. * xlink.c: Sean Chittenden pointed a couple of errors in the XLink detection module, fixes bug #105374. Daniel