debugXML.c


Log

Author Commit Date CI Message
Ryan 0cd29a3a 2012-05-07T19:53:19 Add "whereis" command to xmllint shell When playing with xpath in the xmllint shell, it's really handy to be able to ask where the returned nodes live in the tree, in the same way "pwd" asks where the current node lives. The feature is actually quite easy to implement by combining the functionality of the existing dir/ls and pwd commands (see proposed patch). Example usage: / > whereis //last_name /clinical_study/overall_official/last_name /clinical_study/location/contact/last_name /clinical_study/location/investigator/last_name
Ryan 40db1eeb 2012-05-07T17:04:04 Improve xmllint shell For https://bugzilla.gnome.org/show_bug.cgi?id=310222 adds namespace support to ls, du and the element named in the command shell prompt. It also fixes du to actually dump the requested path, if the user gives one, rather than always dumping the whole file.
Gwenn Kahz ce5f9a7d 2010-11-04T10:48:25 616478 Fix xmllint shell write command The current node wasn't passed down !
Daniel Veillard 13cee4e3 2009-09-05T14:52:55 Fix a bunch of scan 'dead increments' and cleanup * HTMLparser.c c14n.c debugXML.c entities.c nanohttp.c parser.c testC14N.c uri.c xmlcatalog.c xmllint.c xmlregexp.c xpath.c: fix unused variables, or unneeded increments as well as a couple of space issues * runtest.c: check for NULL before calling unlink()
Daniel Veillard 023d0bab 2009-07-29T11:34:50 Fix leak on SAX1, xmllint --sax1 option and debug * SAX2.c: don't leak in xmlCheckDefaultedAttributes for standalone checking * xmllint.c: fix xmllint --sax1 to actually use XML_PARSE_SAX1 * debugXML.c: don't raise an error if markup wasn't allocated from dictionary if document was parsed with option disabling it
Daniel Veillard bccae2d2 2009-06-04T11:22:45 * c14n.c debugXML.c doc/examples/io2.c parser.c schematron.c valid.c xmlschemas.c xmlwriter.c xpath.c: use %s to printf string patch by Christian Persch, fixes #581612
Daniel Veillard 97c9ce2e 2008-03-25T16:52:41 fix various attribute normalisation problems reported by Ashwin this * parser.c: fix various attribute normalisation problems reported by Ashwin * result/c14n/without-comments/example-4 result/c14n/with-comments/example-4: this impacted the result of two c14n tests :-\ * test/att9 test/att10 test/att11 result//att9* result//att10* result//att11*: added 3 specific regression tests coming from the XML spec revision and from Ashwin Daniel svn path=/trunk/; revision=3715
Daniel Veillard 30663512 2008-02-21T22:31:55 made one of the changes suggested by Brian Krahmer allow to pass '--' on * debugXML.c: made one of the changes suggested by Brian Krahmer * testRegexp.c: allow to pass '--' on the command line to allow regexps starting with the character '-' Daniel svn path=/trunk/; revision=3697
Daniel Veillard 7837dd8b 2005-09-06T22:16:57 patch from Oleg Paraschenko to fix xmlDebugDumpNode() when handled a * debugXML.c: patch from Oleg Paraschenko to fix xmlDebugDumpNode() when handled a namespace node. Daniel
Daniel Veillard b6580aef 2005-08-25T14:18:56 uninitialized field and fix on test. Daniel * debugXML.c result/XPath/xptr/strrange2: uninitialized field and fix on test. Daniel
Daniel Veillard cfa303ac 2005-08-25T14:03:56 change verbosity depending on API get back to previous outputs Daniel * debugXML.c: change verbosity depending on API * result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: get back to previous outputs 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
William M. Brack 0357a308 2005-07-06T17:39:14 excluded content string check for XML_ELEMENT_DECL in * debugXML.c: excluded content string check for XML_ELEMENT_DECL in xmlCtxtGenericNodeCheck * runtest.c: changed "open" calls to include O_BINARY for Windows
Daniel Veillard 20887eef 2005-07-04T09:27:40 added enhancement for #309057 in xmllint shell Daniel * debugXML.c: added enhancement for #309057 in xmllint shell Daniel
Daniel Veillard f2e066ac 2005-06-30T13:04:44 complete, checking on other platforms is needed updated fix a bug raised * runtest.c: complete, checking on other platforms is needed * README: updated * debugXML.c: fix a bug raised by bill on IRC * relaxng.c: fix a leak in weird circumstances * runsuite.c Makefile.am: standalone test tool agaisnt the regression suites, work in progress 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
William M. Brack 5a9c1fdd 2004-12-17T21:38:09 changed maintainer-clean dependency with suggestion from Crispin Flowerday * doc/Makefile.am: changed maintainer-clean dependency with suggestion from Crispin Flowerday (bug #157634) * debugXML.c: fixed crash when ATTRIBUTE or DOCUMENT nodes were specified with debugDumpNode (bug #160621)
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 a82b1826 2004-11-08T16:24:57 more coverage more fixes Daniel * gentest.py testapi.c: more coverage * debugXML.c parser.c xmlregexp.c xpath.c: more fixes Daniel
Daniel Veillard 6927b106 2004-10-27T17:29:04 preparing release 2.6.15 cleanups Daniel * ChangeLog NEWS configure.in doc/*: preparing release 2.6.15 * debugXML.c nanoftp.c xmlschemas.c xmlschemastypes.c: cleanups Daniel
Daniel Veillard 03a53c34 2004-10-26T16:06:51 added checking for names values and dictionnaries generates a tons of * debugXML.c include/libxml/xmlerror.h: added checking for names values and dictionnaries generates a tons of errors * SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c include/libxml/tree.h: fixing the errors in the regression tests Daniel
William M. Brack 9638d4c2 2004-10-15T18:25:33 excluded a few nodes (with no content) from the string check routine. * debugXML.c: excluded a few nodes (with no content) from the string check routine.
Daniel Veillard c6095788 2004-10-15T14:50:10 added UTF-8 string checking, raise a problem, need debug Daniel * debugXML.c include/libxml/xmlerror.h: added UTF-8 string checking, raise a problem, need debug Daniel
Daniel Veillard 0d24b11c 2004-10-11T12:28:34 added namespace checking daniel * debugXML.c include/libxml/xmlerror.h: added namespace checking daniel
Daniel Veillard 76821146 2004-10-09T20:39:04 some framework preparation to add namespace checkings daniel * debugXML.c: some framework preparation to add namespace checkings daniel
Daniel Veillard 8de5c0bd 2004-10-07T13:14:19 adding the tree debug mode fixing various problems reported by the debug * debugXML.c include/libxml/debugXML.h include/libxml/xmlerror.h: adding the tree debug mode * parser.c relaxng.c tree.c xpath.c: fixing various problems reported by the debug mode. * SAX2.c: another tree fix from Rob Richards Daniel
Daniel Veillard 22cdb842 2004-10-04T14:09:17 revamped the XML debugging module and prepare for a new checking mode * configure.in debugXML.c include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in: revamped the XML debugging module and prepare for a new checking mode Daniel
William M. Brack 13dfa87e 2004-09-18T04:52:08 added the routine xmlNanoHTTPContentLength to the external API * nanohttp.c, include/libxml/nanohttp.h: added the routine xmlNanoHTTPContentLength to the external API (bug151968). * parser.c: fixed unnecessary internal error message (bug152060); also changed call to strncmp over to xmlStrncmp. * encoding.c: fixed compilation warning (bug152307). * tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed a couple of compilation warnings. * HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation warnings; no change to logic.
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 29b17482 2004-08-16T00:39:03 small typo pointed out by Mike Hommey slightly improved the --c14n * xmlIO.c: small typo pointed out by Mike Hommey * doc/xmllint.xml, xmllint.html, xmllint.1: slightly improved the --c14n description, c.f. #144675 . * nanohttp.c nanoftp.c: applied a first simple patch from Mike Hommey for $no_proxy, c.f. #133470 * parserInternals.c include/libxml/parserInternals.h include/libxml/xmlerror.h: cleanup to avoid 'error' identifier in includes # * parser.c SAX2.c debugXML.c include/libxml/parser.h: first version of the inplementation of parsing within the context of a node in the tree #142359, new function xmlParseInNodeContext(), added support at the xmllint --shell level as the "set" function * test/scripts/set* result/scripts/* Makefile.am: extended the script based regression tests to instrument the new function. Daniel
Daniel Veillard bbaa997a 2004-06-16T14:08:33 applied patch from Stefano Debenedetti to register namespaces in the debug * debugXML.c: applied patch from Stefano Debenedetti to register namespaces in the debug shell 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 b34321c7 2004-03-04T17:09:47 Fixing a head build problem, damn ... Daniel
Daniel Veillard 2156d438 2004-03-04T15:59:36 fixing compilation bug with some options disabled as well as * debugXML.c testHTML.c tree.c doc/examples/*.c include/libxml/xmlsave.h: fixing compilation bug with some options disabled as well as --with-minimum should fix #134695 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 522bc60e 2004-02-21T11:53:09 added "relaxng" option to the debugging shell some regression tests for * debugXML.c: added "relaxng" option to the debugging shell * Makefile.am test/errors/* result/errors/*: some regression tests for some error tests cases. Daniel
William M. Brack 76e95df0 2003-10-18T16:20:14 Changed all (?) occurences where validation macros (IS_xxx) had * include/libxml/parserInternals.h HTMLparser.c HTMLtree.c SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c xpath.c: Changed all (?) occurences where validation macros (IS_xxx) had single-byte arguments to use IS_xxx_CH instead (e.g. IS_BLANK changed to IS_BLANK_CH). This gets rid of many warning messages on certain platforms, and also high- lights places in the library which may need to be enhanced for proper UTF8 handling.
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 7a985a18 2003-07-06T17:57:42 fixed 2 bugs pointed in #116448 Daniel * debugXML.c xpath.c: fixed 2 bugs pointed in #116448 Daniel
Igor Zlatkovic c06bb62c 2003-04-27T15:59:00 included libxml/uri.h for xmlCanonicPath declaration
Daniel Veillard 85095e2c 2003-04-23T13:56:44 try to find more places where xmlCanonicPath() must be used to convert * DOCBparser.c SAX.c catalog.c debugXML.c parser.c: try to find more places where xmlCanonicPath() must be used to convert filenames to URLs, trying to fix #111088 Daniel
Daniel Veillard 580ced8e 2003-03-21T21:22:48 fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec fixed * configure.in Makefile.am: fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec * relaxng.c: fixed some of the error reporting excessive verbosity * catalog.c debugXML.c valid.c xmlreader.c xmlschemas.c xpath.c xmlschemastypes.c: removed some warnings from gcc * doc/libxml2-api.xml: rebuilt Daniel
Daniel Veillard 01c13b5b 2002-12-10T15:19:08 code cleanup, especially the function comments. fixed a small bug when * DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c: code cleanup, especially the function comments. * tree.c: fixed a small bug when freeing nodes which are XInclude ones. Daniel
Daniel Veillard e645e8c1 2002-10-22T17:35:37 Applied the VMS update patch from Craig A. Berry update Daniel * vms/build_libxml.com vms/config.vms vms/readme.vms include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlIO.h HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c: Applied the VMS update patch from Craig A. Berry * doc/*.html: update Daniel
Daniel Veillard 1e208225 2002-10-22T14:25:25 adding a grep command to --shell in xmllint for T.V. Raman Daniel * debugXML.c: adding a grep command to --shell in xmllint for T.V. Raman Daniel
Daniel Veillard 01992e04 2002-10-09T10:20:30 Joe Marcus Clarke reported a segfault on FBsd this was due to * valid.c: Joe Marcus Clarke reported a segfault on FBsd this was due to uninitialized parts of the validation context Daniel
Daniel Veillard 321be0c5 2002-10-08T21:26:42 applied patch from Mark Vakoc except the API change, preserved it. updated * debugXML.c: applied patch from Mark Vakoc except the API change, preserved it. * doc/*: updated the docs to point to the search engine for information lookup or before bug/help reports. Daniel
Aleksey Sanin 49cc9756 2002-06-14T17:07:10 replaced sprintf() with snprintf() to prevent possible buffer overflow * DOCBparser.c HTMLparser.c debugXML.c encoding.c nanoftp.c nanohttp.c parser.c tree.c uri.c xmlIO.c xmllint.c xpath.c: replaced sprintf() with snprintf() to prevent possible buffer overflow (the bug was pointed out by Anju Premachandran)
Daniel Veillard 34ce8bec 2002-03-18T19:37:11 preparing 2.4.18 updated and rebuilt the web site implement the new * configure.in: preparing 2.4.18 * doc/*: updated and rebuilt the web site * *.c libxml.h: implement the new IN_LIBXML scheme discussed with the Windows and Cygwin maintainers. * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
Daniel Veillard 75be0130 2002-03-13T10:03:35 speedup some node selection operations, this can have a significant impact * xpath.c: speedup some node selection operations, this can have a significant impact on DocBook Norm's stylesheets * nanohttp.c: someone reported that SOCKLEN_T may not be defined make sure it's always the case * debugXML.c: distinguish CDATA and comments in ls operations Daniel
Daniel Veillard 9ff8817e 2002-03-11T09:15:32 Fixing #74186, made sure all boolean expressions get fully parenthesized, * c14n.c: Fixing #74186, made sure all boolean expressions get fully parenthesized, ran indent on the output * configure.in HTMLtree.c SAX.c c14n.c debugXML.c tree.c xpointer.c include/libxml/tree.h: also #74186 related, removed the --with-buffers option, and all the preprocessor conditional sections that were resulting from it. Daniel
Daniel Veillard 0ba59239 2002-02-10T13:20:39 Tentatively fixed #69655 , make compiling with -Wredundant-decls clean. * HTMLtree.c Makefile.am build_glob.py configure.in debugXML.c globals.c parser.c threads.c tree.c valid.c xmlmemory.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlmemory.h include/libxml/xpathInternals.h: Tentatively fixed #69655 , make compiling with -Wredundant-decls clean. * python/libxml.c: fixed a warning. Daniel
Daniel Veillard 7db3871b 2002-02-07T16:39:11 cleanup always use stdout if output is NULL don't close filedescriptors * Makefile.am: cleanup * debugXML.c: always use stdout if output is NULL * xmlIO.c: don't close filedescriptors passed to outputBuffers * python/Makefile.am python/generator.py python/libxml2class.txt python/libxml_wrap.h python/types.c: augmented the number of bindings handling FILE * and XPath contexts * python/tests/Makefile.am: avoid a stupid problem due to the use of TEST. Daniel
Daniel Veillard 2070c48c 2002-01-22T22:12:19 added an xpath function to the shell for T. V. Raman Daniel * debugXML.c: added an xpath function to the shell for T. V. Raman Daniel
Daniel Veillard 5e926fa7 2002-01-22T21:44:25 patch from Anthony Jones to catch NULL nodes in debug routines. Daniel * debugXML.c: patch from Anthony Jones to catch NULL nodes in debug routines. Daniel
Daniel Veillard 9d06d300 2002-01-22T18:15:52 Build a new version hopefully near complete and fully documented of the * doc/libxml2-api.xml doc/parsedecl.py: Build a new version hopefully near complete and fully documented of the API in XML * HTMLtree.c SAX.c debugXML.c error.c globals.c parser.c tree.c xmlIO.c xmlmemory.c include/libxml/catalog.h include/libxml/hash.h include/libxml/list.h include/libxml/parser.h include/libxml/tree.h include/libxml/parserInternals.h include/libxml/valid.hi include/libxml/xmlIO.h include/libxml/xmlerror.hi include/libxml/xmlmemory.h include/libxml/xmlversion.h.ini include/libxml/xpath.h include/libxml/xpathInternals.h: Cleaned up the doc comments a lot in the process, the interface coverage is now 100% Daniel
Daniel Veillard cfa0d812 2002-01-17T08:46:58 fixed the funxtion to set the xml: attributes added "setbase" to test it. * tree.c: fixed the funxtion to set the xml: attributes * debugXML.c: added "setbase" to test it. Daniel
Daniel Veillard e6a5519c 2002-01-14T17:11:53 some cleanup after an unsuccessful attempt at fixing #61290 :-( Daniel * debugXML.c tree.c: some cleanup after an unsuccessful attempt at fixing #61290 :-( Daniel
Daniel Veillard cbaf3995 2001-12-31T16:16:02 applied 42 documentation patches from Charlie Bozeman. Regenerated the * *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel
Daniel Veillard 8faa7836 2001-11-26T15:58:08 moved xmlGetLineNo() and xmlGetNodePath() into the main tree module, they * tree.c debugXML.c include/libxml/tree.h include/libxml/debugXML.h: moved xmlGetLineNo() and xmlGetNodePath() into the main tree module, they are not really tied to debugging Daniel
Daniel Veillard cd337f0b 2001-11-22T18:20:37 some cleanups when chasing unappropriate stdout output. Daniel * debugXML.c tree.c xmlIO.c xmlmemory.c: some cleanups when chasing unappropriate stdout output. Daniel
Daniel Veillard c6e013ab 2001-11-10T10:08:57 add xmlGetNodePath() a cleaned up version of the Pwd shell string * debugXML.c include/libxml/debugXML.h: add xmlGetNodePath() a cleaned up version of the Pwd shell string generation. Daniel
Daniel Veillard 5004f42f 2001-11-08T13:53:05 Stefan Kost provided an help command for the shell Daniel * debugXML.c: Stefan Kost provided an help command for the shell Daniel
Daniel Veillard a6825e8d 2001-11-07T13:33:59 Heiko Rupp pointed that the shell would crash on empty nodesets returns. * debugXML.c: Heiko Rupp pointed that the shell would crash on empty nodesets returns. Daniel
Daniel Veillard 66870c71 2001-11-05T19:27:49 applied an improvement to xmlGetLineNo() from Keith Isdale Daniel * debugXML.c: applied an improvement to xmlGetLineNo() from Keith Isdale Daniel
Daniel Veillard ebd38c5f 2001-11-01T08:38:12 bool can be a reserved keyword. Daniel * debugXML.c include/libxml/debugXML.h: bool can be a reserved keyword. Daniel
Daniel Veillard 3c01b1d8 2001-10-17T15:58:35 - include/libxml/globals.h include/libxml/threads.h threads.c testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel
Daniel Veillard b44025c7 2001-10-11T22:55:55 started integrating the non-controversial parts of Gary Pennington * HTMLtree.c catalog.c debugXML.c entities.c nanoftp.c parser.c valid.c xmlmemory.c xpath.c xpointer.c: started integrating the non-controversial parts of Gary Pennington multithread patches * catalog.c: corrected a small bug introduced Daniel
Daniel Veillard 78d12097 2001-10-11T09:12:24 integrating Keith Isdale patches for the XSLT debugger interfaces. Some * include/libxml/debugXML.h debugXML.c tree.c: integrating Keith Isdale patches for the XSLT debugger interfaces. Some cleanup Daniel
Daniel Veillard d3d06728 2001-08-15T12:06:36 deprecate the non-boundchecking Sprintf functions, add Snprintf this * include/libxml/valid.h debugXML.c valid.c: deprecate the non-boundchecking Sprintf functions, add Snprintf this should close bug #57984 Daniel
Daniel Veillard 567e1b48 2001-08-01T15:53:47 fixed a bug when walking the descendants and the current node has no * xpath.c: fixed a bug when walking the descendants and the current node has no children * debugXML.c: show up when a text node is supposed to not be escaped Daniel
Daniel Veillard 5e2dace1 2001-07-18T19:30:27 Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100% Cleanup, cleanup .. * configure.in Makefile.am: removed libxml softlink for good * include/libxml/*.h *.c doc/Makefile.am: cleanup to get 100% coverage by gtk-doc Daniel
Daniel Veillard 7db3773a 2001-07-12T01:20:08 store the line numbder in element->content, may break some software, need * DOCBparser.c HTMLparser.c HTMLtree.c SAX.c debugXML.c parser.c tree.c xpointer.c: store the line numbder in element->content, may break some software, need a configuration mechanism Daniel
Daniel Veillard b8c9be97 2001-07-09T16:01:19 fixed XML Base computation which was broken added a base function to the * tree.c: fixed XML Base computation which was broken * debugXML.c: added a base function to the shell * Makefile.am result/scripts/* test/scripts/*: added scripts based regression tests, and adding 2 XML Base tests Daniel
Daniel Veillard c5d64345 2001-06-24T12:13:24 Summer's cleanup, a really big one: * AUTHORS: added William and Bjorn * include/libxml/*.h *.c README doc/*.html etc.: changed old email to daniel@veillard.com hopefully I won't have to do this again * doc/Makefile.am doc/html/*.html: cleanup makefile, checked that docs can be rebuilt cleanly now * include/libxml/xml*version.h*: removed include/libxml/xmlversion.h from CVs it's generated, added include/libxml/xmlwin32version.h also generated but which should change far less frequently. * catalog.c nanoftp.c: made sure to include libxml.h not libxml/xmlversion.h directly * include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h when compiling on WIN32 and MSC Daniel
Daniel Veillard 61d80a28 2001-04-27T17:13:01 - parserInternals.c xpath.[ch]: some UTF8 cleanup on xmlXPathParseName - xpath.c: Igor Zlatkovic suggested a change for NAN and MSC - debugXML.c: avoid compilation problems if compiling without HTML support, Igor Zlatkovic - win32/libxml2/libxml2.def.src: being able to compile without XPath on Windows Daniel
Daniel Veillard eae522a0 2001-04-23T13:41:34 Time to work on helping the Gnome Doc project, first step is reintegrating the SGML DocBook parser in libxml2 distrib: - DOCBparser.c DOCBparser.h testDocbook.c configure.in Makefile.am xmlversion.h.in: started (re)integrating the DocBook SGML parser. - SAX.[ch]: cleanup and updates for DocBook - debugXML.c parser.h tree.[ch] valid.c xpath.c: small macro or ex SGML identifier changes - valid.c: removed a static unused function. Daniel
Bjorn Reese 70a9da54 2001-04-21T16:57:29 trio upgrade and integration
Daniel Veillard a10efa8a 2001-04-18T13:09:01 - debugXML.c hash.c tree.h valid.c : some changes related to the validation suport to improve speed with DocBook - result/VC/OneID2 result/VC/OneID3 : this slightly changes the way validation errors get reported Daniel
Daniel Veillard 92ad2104 2001-03-27T12:47:33 Spring cleanup ...: - configure.in Makefile.am config.h.in Spring cleanup ...: - configure.in Makefile.am config.h.in xmlversion.h.in: detect if we need string functions - trio.[ch] strio.[ch]: embedded the Trio-0.23 string functions to be able to use them where needed. Applied some changes to reduce name linking pollution and compile in only what's needed. - HTMLtree.c debugXML.c entities.c error.c nanoftp.c valid.c xlink.c xmlversion.h.in xpath.c: got rid of the #ifdef for the string manipulation functions - xmlmemory.[ch]: removed DEBUG_MEMORY_FREED and added it automatically to the free() function of xmlmemory.c - entities.c HTMLtree.c parserInternals.c tree.c uri.c valid.c xinclude.c xmlIO.c xpath.c xpointer.c: removed the MEM_CLEANUP usage. Daniel
Daniel Veillard c86a4fae 2001-03-26T16:28:29 - HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.c testHTML.c testSAX.c tree.c valid.c xmlIO.c xmlmemory.c xmlversion.h.in xpointer.c: of course the way I defined UNUSED breaks on old gcc version. Try to be smart and also define it directly in xmlversion.h - configure.in: removed -ansi flag from the pedantic set Daniel
Daniel Veillard 56a4cb8c 2001-03-24T17:00:36 Huge cleanup, I switched to compile with -Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline - HTMLparser.[ch] HTMLtree.c SAX.c debugXML.c encoding.[ch] encoding.h entities.c error.c list.[ch] nanoftp.c nanohttp.c parser.[ch] parserInternals.[ch] testHTML.c testSAX.c testURI.c testXPath.c tree.[ch] uri.c valid.[ch] xinclude.c xmlIO.[ch] xmllint.c xmlmemory.c xpath.c xpathInternals.h xpointer.[ch] example/gjobread.c: Cleanup, staticfied a number of non-exported functions, detected and cleaned up a dozen of problem found this way, avoided a lot of public function name/typedef/system names clashes - doc/xml.html: updated - configure.in: switched private flags to the really pedantic ones. Daniel
Owen Taylor 3473f88a 2001-02-23T17:55:21 Revert directory structure changes
CET 2001 Tomasz Kłoczko 64636e7f 2001-02-23T01:37:32 moved to libxml directory - this allow simplify automake/autoconf. Now Thu Feb 23 02:03:56 CET 2001 Tomasz Kłoczko <kloczek@pld.org.pl> * *.c *.h libxml files: moved to libxml directory - this allow simplify automake/autoconf. Now isn't neccessary hack on am/ac level for make and remove libxml symlink (modified for this also configure.in and main Makefile.am). Now automake abilities are used in best way (like in many other projects with libraries). * include/win32config.h: moved to libxml directory (now include directory isn't neccessary). * Makefile.am, examples/Makefile.am, libxml/Makefile.am: added empty DEFS and in INCLUDES rest only -I$(top_builddir) - this allow minimize parameters count passed to libtool script (now compilation is also slyghtly more quiet). * configure.in: simplifies libzdetestion - prepare separated variables for keep libz name and path to libz header files isn't realy neccessary (if someone have libz installed in non standard prefix path to header files ald library can be passed as: $ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure * autogen.sh: check now for libxml/entities.h. After above building libxml pass correctly and also pass "make install DESTDIR=</install/prefix>" from tar ball generated by "make dist". Seems ac/am reorganization is finished. This changes not touches any other things on *.{c,h} files level.
Daniel Veillard e456646d 2001-01-22T09:58:39 More work, bugfixes for problems detected by XSLT, and addition of a new specific type for XSLT: - xpathInternals.h xpath.[ch] debugXML.c: added the XPATH_XSLT_TREE type correponding to an XSLT result tree fragment. Share most of the data format with node set, as well as operators. - HTMLtree.c: added a newline at the end of the doctype output whe this one is not present initially. - tree.c: make sure taht the parent and doc pointers are properly set when copying attributes (lists). Daniel
Daniel Veillard 389e6b72 2001-01-15T19:41:13 Patches bug fixes and on new function: - xpath.c: fixed the comaprision of values and nodelists, need to compare nodelist still ... - debugXML.c: avoided a possible core dump - HTMLparser.c: cleanup - nanohttp.c: contributed fix. - tree.c: fixes in properties handling added xmlSetNsProp needed by libxslt - xpathInternals.h: exported xmlXPathBooleanFunction, added a comment - TODO: updated Daniel
Daniel Veillard 9e8bfae5 2000-11-06T16:43:11 XInclude and other stuff while travelling. Contributed patches: - tree.[ch] xinclude.[ch] xmllint.c configure.in valid.c debugXML.c xmlversion.h.in: Started adding XInclude support, this is a new xmllint option - tree.c xpath.c: applied TOM patches for XPath - xpointer.c: fixed a couple of errors. - uri.c: added an escaping function needed for xinclude - testXPath.c hash.c HTMLtree.c: minor cleanups raised by new warning from RH70 gcc's version Daniel
Daniel Veillard a4964b75 2000-10-31T18:23:44 - HTMLparser.c: fixed loop on invalid char in scripts - parser.c: update to description of xmlIOParseDTD() - libxml.m4 xmlversion.h.in: changes contributed by Michael Schmeing <m.schmeing@internet-factory.de> - configure.in: preparing for 2.2.7 - Makefile.am: trying to avoid config.h and acconfig.h being included in the distrib - rebuilt the docs - configure.in: released 2.2.7 Daniel
Daniel Veillard d6d7f7bf 2000-10-25T19:56:55 patched to redirrect all "out of context" error messages to a reconfigurable routine. The changes are: * xmlerror.h : added the export of an error context type (void *) an error handler type xmlGenericErrorFunc there is an interface xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler); to reset the error handling routine and its argument (by default it's equivalent to respectively fprintf and stderr. * all the c files: all wild accesses to stderr or stdout within the library have been replaced to calls to the handler. Daniel
Daniel Veillard 126f2799 2000-10-24T17:10:12 Bunch of fixes, finishing moving datastructures to the hash stuff: - hash.[ch] debugXML.c: expanded/enhanced the API, added multikey tuples, made hash structure opaque - valid.[ch]: moved elements, attributes, notations decalarations as well as ID and refs to hash tables. - entities.c: hash cleanup - xmlmemory.c: fixed a dump problem in debug mode - include/Makefile.am: problem passing in DESTDIR= values patch from Marc Christensen <marc@calderasystems.com> - nanohttp.c: removed debugging remains - HTMLparser.c: the bogus tag should be ignored (Wayne) - HTMLparser.c parser.c: fixing a number of problems with the macros in the *parser.c files (Wayne). - HTMLparser.c: close the previous option when opening a new one (Marc Sanfacon). - result/HTML/*: updated the HTML results accordingly Daniel
Daniel Veillard 52afe800 2000-10-22T16:56:02 Started working on the hash table module integration, fixed a bug: - entities.[ch] xpath.[ch] hash.[ch] debugXML.c tree.h: added/hacked hash tables from Bjorn Reese <breese@mail1.stofanet.dk>. Switched XPath functions and XML entities table to them. More to come... - xmlIO.c: fixed libxml closing FILEs it didn't open. Daniel
Daniel Veillard b71379b7 2000-10-09T12:30:39 - moved xml-error.h to xmlerror.h: seems this allowed to bypass the automake bug where wrong dependancies were generated. - xpath.[ch]: worked on XPointer Daniel
Daniel Veillard 7e99c63b 2000-10-06T12:59:53 Tried to build libxml2-2.2.5 Automake is a fucking piece of ugly shit full of tricks and without any kind of sensible documentation or logic :-((((((((( Daniel, pissed !
Daniel Veillard 55b91f2d 2000-10-05T16:30:11 Massive XPath implementation cleanup: - debugXML.c testXPath.c xpath.[ch]: got pissed by some nastyness in the XPath engine, rewrote large parts of it, now it's far cleaner and in sync with the REC not an old WD. Fixed a parsing problem in the interactive XML shell found when testing XPath. Daniel
Daniel Veillard ac260306 2000-10-04T13:33:43 More work and fixes on XPath: - debugXML.c testXPath.c xpath.[ch]: More work on XPath/Xpointer, incorporated "(TOM)" <ptittom@free.fr> patches rebuilt the XPath examples with the extra test Daniel
Daniel Veillard 740abf5a 2000-10-02T23:04:54 Big XPath cleanup continues, one URI fix: - xpath.[ch] debugXML.c testXPath.c: fixed the XPath evaluation engine, should be far more stable, incorporated a new version of preceding/following axis, need testing - uri.c: fixed file:///c:/a/b/c problem - test/XPath/tests/idsimple: augmented the XPath tests Daniel
Daniel Veillard 8b5dd83f 2000-10-01T20:28:44 - configure.in: releasing 2.2.4 - parser.[ch]: added xmlStrEqual() - HTMLparser.c HTMLtree.c SAX.c debugXML.c entities.c parser.c tree.c valid.c xlink.c xpath.c: converted all !xmlStrcmp to use xmlStrEqual instead - TODO: updated - added an XPath test Daniel
Daniel Veillard 281f8ff4 2000-09-24T08:12:14 Got an OSF/1 bug report fixing related problems: - xmlversion.h.in nanoftp.c nanohttp.c: traying to work out the problem of socklen_t being undefined on a number of platforms - debugXML.c: fixed a compilation problem when without snprintf Daniel
Daniel Veillard 04698d9e 2000-09-17T16:00:22 New set of cleanups, released 2.2.3: - SAX.c debugXML.c parser.c parserInternals.c tree.c valid.c xpath.c: removed a few warnings in pedantic mode ... - parserInternals.c parser.c: moved encoding switching function to parserInternals.c - configure.in, doc/Makefile.am libxml.spec.in: released 2.2.3 Daniel
Daniel Veillard 39c7d71a 2000-09-10T16:14:55 Jumbo patch, resync of W3C/Gnome CVS trees: - uri.c tree.c SAX.c parser.c entities.c debugXML.c: finished the cleanup of the computation of URI references when seeking external entities. The URI reference string and the resulting URI are both stored now. - parser.c HTMLparser.c valid.c nanoftp.c nanohttp.c xpath.c: large s(n)printf checks and cleanup from Denis Barbier <barbier@imacs.polytechnique.fr> - xmlversion.h.in tree.h: couple of SGML declarations for a possible docbook module. - result/VC/ : a couple of test output changed due to the change of the entities URI Daniel