xpath.c


Log

Author Commit Date CI Message
Daniel Veillard 0ab5caba 2001-08-14T16:43:10 serious changes on Result Value Trees and NodeSets w.r.t. deallocation and * xpath.c: serious changes on Result Value Trees and NodeSets w.r.t. deallocation and collect operations. Probably not 100% clean (merge of allocated trees smells like a problem). Seems sufficient to close #58943 Daniel
Daniel Veillard fe70332f 2001-08-14T12:18:09 count() was broken on Result Value Tree fixed file:/// accesses on _WIN32 * xpath.c: count() was broken on Result Value Tree * xmlIO.c: fixed file:/// accesses on _WIN32 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
Thomas Broyer f186c825 2001-07-31T23:30:37 fixed a bug in xmlXPathNodeTrailingSorted (for now it worked like the * xpath.c: fixed a bug in xmlXPathNodeTrailingSorted (for now it worked like the set:leading() function) * include/libxml/xpathInternals.h: added xmlXPathNodeSetContains
Daniel Veillard 7d7e3791 2001-07-30T13:42:13 fixed a serious memory problen when walking the namespace axis showing up * xpath.c include/libxml/xpath.h: fixed a serious memory problen when walking the namespace axis showing up in libxst/tests/general/bug-12 * xmlmemory.c: added the possibility to trace a given block defined by its address Daniel
Thomas Broyer ba4ad326 2001-07-26T16:55:21 added a function lookup framework * xpath.c include/libxml/xpath{,Internals}.h: added a function lookup framework
Daniel Veillard a53c688b 2001-07-25T17:18:57 fixed the xmlLineNumbersDefault() errors, lesson don't add new functions * parser.c parserInternals.c: fixed the xmlLineNumbersDefault() errors, lesson don't add new functions at 1am before a release * xpath.c: integrated fix from Bjorn to avoid divide by zero from XPath initialization when possible. 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
Thomas Broyer f06a3d8b 2001-07-16T04:52:57 added a more convenient extension API for value and context managing Now * include/libxml/xpath{,Internals}.h xpath.c: added a more convenient extension API for value and context managing Now handles external objects through xmlXPathPopExternal, xmlXPathWrapExternal and xmlXPathReturnExternal. Added functions for sets operations (intersection, etc.)
Daniel Veillard 0438375d 2001-07-08T14:27:15 fix the name() bug for elements in the default namespace reported by * xpath.c: fix the name() bug for elements in the default namespace reported by Charlie Bozeman Daniel
Daniel Veillard 7583a59b 2001-07-08T13:15:55 trying to fix #56948, this led to an XPath fix, improvements of SAX * SAX.c parser.c testXPath.c xpath.c: trying to fix #56948, this led to an XPath fix, improvements of SAX initialization, and an added option --nocdata to testXPath Daniel
Daniel Veillard 73c9c049 2001-07-05T20:02:54 - xpath.c: a bug reported by Stephan Kulow empty nodesets were not equal to empty strings Daniel
Daniel Veillard 8c357d58 2001-07-03T23:43:33 - xpath.c: fixed a missing copy in xmlXPathVariableLookupNS() raised by Mark Vakoc. Daniel
Daniel Veillard f06307e2 2001-07-03T10:35:50 - xpath.c include/libxml/xpath.h include/libxml/xpathInternals.h: lot of optimization work, results in significant improvements when handling really complex XPath queries. Add a small optimizer for unions, improve [n] and [last()], avoid some costly ops. Daniel
Daniel Veillard 77044731 2001-06-29T21:31:07 xmlStrstr args are both const small cleanup reformated, fixed problems if * include/libxml/parser.h parser.c: xmlStrstr args are both const * xpath.c: small cleanup * xmlGetNsList: reformated, fixed problems if used on Entities Daniel
Daniel Veillard 9a89a8ab 2001-06-27T11:13:35 moved the symlinks detection within a CVS check, this is not portable and * configure.in: moved the symlinks detection within a CVS check, this is not portable and will be removed soon. * xpath.c: small cleanup/speedup Daniel
Daniel Veillard a3067d19 2001-06-24T21:39:39 Oops small clanup, Daniel
Daniel Veillard 56f0646e 2001-06-24T21:34:03 - xpath.c: patch to xmlXPathFormatNumber for the optimizer on Tru64 from Thomas Leitner 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 8cf14d5a 2001-06-23T16:32:46 fixed the bug generating a template loop in libxslt when using * xpath.c: fixed the bug generating a template loop in libxslt when using docbook-xsl-1.4, * should filter out document nodes * HACKING: added William * TODO: updated Daniel
Daniel Veillard d79bcd1b 2001-06-21T22:07:42 attempt to work around what seemed a gcc optimizer bug when handling * xpath.c: attempt to work around what seemed a gcc optimizer bug when handling floats on i386 http://veillard.com/gcc.bug * tree.c entities.c encoding.c: doing some cleanups while chasing it Daniel
Daniel Veillard 017b108f 2001-06-21T11:20:21 - Makefile.am: cleanup when --without-debug is specified - xinclude.c xpath.c xpathInternals.h xpointer.c: cleanup w.r.t. --without-debug and other include points - catalog.h testCatalog.c: a bit of cleanup and prepare for XML Catalogs - configure.in entities.h tree.h HTMLparser.c: removed --without-corba, made the _private field mandatory Daniel
Daniel Veillard 8b8d2254 2001-06-16T21:24:56 - xpath.c: first part of the work on selecting namespace to fix bug #56115 Daniel
Daniel Veillard 608ad079 2001-06-14T08:32:28 - xpath.c: Thomas Broyer suggested a better patch for the / arg Daniel
Daniel Veillard 239d052b 2001-06-13T23:02:48 - xpath.c: bug detected by Ankh when / is used as a function arg Daniel
Daniel Veillard 541d6555 2001-06-07T14:20:01 - xpath.c: robert pointed out xmlXPathNINF was not initialized daniel
Daniel Veillard 97ac1319 2001-05-30T19:14:17 - xpath.c encoding.[ch]: William M. Brack provided a set of UTF8 string oriented functions and started cleaning the related areas in xpath.c which needed fixing in this respect Daniel
Daniel Veillard 42596ad2 2001-05-22T16:57:14 - tree.c: fixed a gross mistake in base computation, xml:base is not completely correct yet (need cascade). - xpath.[ch]: added the few things needed to find a function name and URI from the XPath context when it is called. Daniel
Daniel Veillard 81418e38 2001-05-22T15:08:55 - catalog.[ch]: fixes and add xmlLoadCatalogs() - DOCBparser.c: small cleanup - xmllint.c: added a --catalogs option to load catalogs from $SGML_CATALOG_FILES - tree.c: cleanup - configure.in: iconv library fixup, ICONV_LIBS Daniel
Daniel Veillard af86c7f4 2001-05-21T14:11:26 - catalog.c: handling of CATALOG entries. detection of recursion, and a few bugfixes - xpath.c: fixing bug #54951 QNAME with no prefix should not match against the default namespace Daniel
Daniel Veillard 04b93290 2001-05-21T08:15:31 - xpath.c: Joe Orton reported a bug found with IRIx compiler. Daniel
Daniel Veillard 76d66f41 2001-05-16T21:05:17 - xpath.c tree.c parser.c: speed optimizations at the parser level document tree freeing and xpath evaluation Daniel
Daniel Veillard ba0b8c94 2001-05-15T09:43:47 - xpath.c xpath.h xpathInternals.h: apply an XPath API cleanup patch from Thomas Broyer Daniel
Daniel Veillard 357c960e 2001-05-03T10:49:20 - xpath.c result/XPath/expr/floats : clarified and cleanup printing of abnormal floats in tests. Daniel
Daniel Veillard c8f620ba 2001-04-30T20:31:33 fix of an XSLT namespace bug reported on the list general/bug-8- Daniel * xpath.c: fix of an XSLT namespace bug reported on the list general/bug-8- Daniel
Daniel Veillard 5792e16f 2001-04-30T17:44:45 - strio.h trio.c: Dan McNichol suggested a couple of small fixes for AIX 4.3.3 using Visual Age 5.0.2 compiler Daniel
Daniel Veillard b45c43be 2001-04-28T17:02:11 - configure.in xpath.c: applied Bjorn patches for FPE on the alpha Daniel
Daniel Veillard e39a93d0 2001-04-28T14:35:02 This improves seriously some XSLt speed tests: - xpath.c: simple and efficient optimization, XPath functions aways bind to the same code, cache this - TODO: updated (by saying some is obsolete) Daniel
Daniel Veillard 2156a56b 2001-04-28T12:24:34 - xpath.c: more cleanup work on XPath name parsing routines 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 82e4971d 2001-04-26T14:38:03 - xpath.c: fixed bug #53689 related to processing-instruction() Daniel
Daniel Veillard b33c2019 2001-04-25T12:59:04 - tree.c: trying to fix #53574, not completely complete, I would like xmllint --copy --debug test/ent1 and xmllint --debug test/ent1 to show the same result. - xpath.c: fix a bug when trying to sort namespace nodes 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
Daniel Veillard fd0c3ebb 2001-04-22T19:13:10 Fixed the XPointer crap ... - xpath.c: fixed the XPointer problem introduced in 2.3.6 Daniel
Daniel Veillard 40af649f 2001-04-22T08:50:55 - xpath.c: fixed xmlXPathCompile to detected unproperly ended expr Daniel
Bjorn Reese 70a9da54 2001-04-21T16:57:29 trio upgrade and integration
Daniel Veillard e470df7f 2001-04-18T21:41:07 3 hours of debug, this was hell: - SAX.c parser.c xpath.c: generating IDs when not validating from an external parsed entity was poisoning the ID has table with removed values. This was killing XSLT on the KDE help browser. Daniel
Daniel Veillard e043ee17 2001-04-16T14:08:07 - xpath.c: fixed xmlXPathNodeCollectAndTest() to do proper prefix lookup. - parserInternals.c: fixed the bug reported by Morus Walter due to an off by one typo in xmlStringCurrentChar() Daniel
Daniel Veillard 1731d6ae 2001-04-10T16:38:06 - xpath.c: trying to get 52979 solved - tree.c result/ result/noent/: trying to get 52712 solved, this also made me clean up the fact that XML output in general should not add formating blanks by default, this changed the output of a few tests Daniel
Daniel Veillard 73639a73 2001-04-10T14:31:39 - xpath.c: Bill Brack pointer an error in detecting a null nodeset Daniel
Daniel Veillard 911f49a0 2001-04-07T15:39:35 - xpath.c: checking for null pointer generated by new code Daniel
Daniel Veillard d8df6c0e 2001-04-05T16:54:14 Fixes in the plane: - xpath.c: fixed a [] evaluation problem reported - Fixes in the plane: - xpath.c: fixed a [] evaluation problem reported - test/XPath/tests/simpleaddr: extended test - result/XPath/simpleaddr: updated result Daniel
Daniel Veillard 4dd9346d 2001-04-02T15:16:19 Small fixes: - xpath.c: fixed a memleak when comparing nodesets - Small fixes: - xpath.c: fixed a memleak when comparing nodesets - HTMLtree.c: don't invent the HTML doctype if not available (XSLT) - tree.c: added a TODO 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 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
Daniel Veillard fbf8a2d0 2001-03-19T15:58:54 More cleanups, XSLT induced, start looking okay: - xpath.[ch]: still a lot of cleanup based on XSLT, added xmlXPathConvert{String,Number,Boolean} to be able to make type casts without a context stack, fixed some implementation problems related to the absence of context at parse-time, added xmlXPathEvalPredicate() and xmlXPathFreeCompExpr() in the public API too - xpointer.c xpathInternals.h: we need to know at parse time whether we are compiling an XPointer Daniel
Daniel Veillard afcbe1cb 2001-03-19T10:57:13 Did the boring cleanup job now that stuff works okay again: - xpath.[ch] xpointer.c: restaured the Binary and API compatibility cleaned up the parser internals, refactored XPath code, added new compilation based APIs and cleanly separated public and private APIs. Daniel
Daniel Veillard 9e7160d4 2001-03-18T23:17:47 Completely changed the way the XPath evaluation is done, likely to break stuff like libxslt right now: - Makefile.am: detect XPath memleaks in regreson tests - error.c: fixed and error w.r.t. error reporting still using stderr - hash.c: added new line at end of file - tree.h: minor cleanup - xpath.[ch] xpointer.[ch]: Major changes ! Separated XPath expression parsing from evaluation, resulted in a number of changes internally, and in XPointer. Likely to break stuff using xpathInternals.h but should remain binary compatible, new interfaces will be added. Daniel
Daniel Veillard 68d7b67a 2001-03-12T18:22:04 - xpath.c: ptittom found a small bug in UnaryExpr Daniel
Daniel Veillard 4af6b6e8 2001-03-06T08:33:38 - xpath.c: Bjorn found the error related to strictness of comparison. Daniel
Bjorn Reese e1dc0114 2001-03-03T12:09:03 xmlXPathNodeCollectAndTest fixed (by William Brack) xmlXPathFormatNumber added xmlXPathNodeSetSort changed
Daniel Veillard 77851710 2001-02-27T21:54:07 Minimal changes for XSLT node-set() extra function: - tree.c: minor doc fix - xpath.c: deallocation issues when a result tree has been converted to a node-set Daniel
Daniel Veillard 48b2f896 2001-02-25T16:11:03 Okay time to improve performances, gprof session: before real 0m2.483s (2.3.2 release yesterday) current real 0m1.763s when parsing (with tree build/freeing) db10000.xml from XSLTMark: - xmlmemory.h HTMLparser.c HTMLtree.c entities.c parser.c xpath.c xpointer.c tree.c uri.c valid.c xinclude.c xmlIO.c: avoiding memcpy in production builds MEM_CLEANUP macro use - parser.[ch] parserInternals.c: optimizations of the tightest internal loops inside the parser. Better checking of I/O flushing/loading conditions - xmllint.c : added --timing Daniel
Daniel Veillard bbd51d51 2001-02-24T03:07:03 - xpath.c: found a memleak and fixed a nasty bug Daniel
Daniel Veillard f7cd4817 2001-02-23T18:44:52 - xmllint.[c1] : added return code errors for xmllint - xpath.c: specific debug dump function for result value trees 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 4b637079 2001-02-21T21:52:55 - xpath.c: finally implemented xmlXPathCompareNodeSets - test/XPath/expr/floats results/XPath/expr/floats: added a test for float expressions Daniel
Daniel Veillard f714aa32 2001-02-21T03:07:44 - tree.c: fixed xmlNodeGetContent, it was not recursing on child - parserInternals.[ch]: trying to speed up parsing - xpath.c : speeded up node set equality op Daniel
Daniel Veillard 88f8f6f3 2001-02-19T10:00:53 - xpath.c: fixed "*" (unbelievable !) and a couple of warnings Daniel
Bjorn Reese 081543fd 2001-02-18T16:49:41 xmlXPathNodeSetSort now uses Shell's sorting algorithm Fixed whitespace handling in xmlXPathStringEvalNumber
Daniel Veillard 142adbfa 2001-02-17T13:21:05 More bugfixes due to DocBook: - xpath.c: bug fix when context size is 0 - parser.c: I like Norm's Dtd because they still manage to break the parser occasionally Daniel
Daniel Veillard f23e0095 2001-02-16T13:21:29 - xpath.c: xmlXPathEqualNodeSetFloat the arg is really a double now Daniel
Daniel Veillard e0e26513 2001-02-16T00:11:46 - tree.[ch] parser.c xpath.c: fixed the problem of addressing attributes within the XML-1.0 namespace Daniel
Daniel Veillard f41fbbf6 2001-02-13T17:05:35 testing and bug fixing related to XSLT: - xpath.c result/XPath/tests/chaptersprefol: bugfixes on order and on predicate - HTMLparser.[ch] HTMLtree.c result/HTML/doc3.htm.err result/HTML/doc3.htm.sax result/HTML/wired.html: sometimes one really want to have tags closed on output even if we accept unclosed ones on input Daniel
Daniel Veillard 5dd2f0a6 2001-02-12T17:36:05 Well the bugs I was chasing on XSLT were ... in libxml ... grrrr: - xpath.c: ouch don't free NULL, rare case fixed - tree.c: don't coalesce text nodes if they don't have the same behaviour wrt escaping on output Daniel
Daniel Veillard d12b69dd 2001-02-11T20:17:31 bit of testing, a bit of fixing, a bit of testing, a bit of fixing ... * xpath.c: small fixup * SAX.c: don't warn on empty namespaces. Daniel
Daniel Veillard 2c257ec1 2001-02-06T13:29:07 How to remove 20% of XSLT execution time in less than 20 lines of code * xpath.c: started profiling XSLT, added xmlXPathNodeSetAddUnique() which removes a time consuming check of xmlXPathNodeSetAdd() and use it in places where we are sure to not break unicity Daniel
Daniel Veillard 0f2a53cc 2001-02-05T17:57:33 Bug fixes and an extension found and required by XSLT: - xpath.c: bug fixes found from XSLT - tree.c: preserve node->name special values when copying nodes. - parserInternals.[ch] parser.[ch] SAX.c : added a mode where external subset are fetched when available but without full validation. Added xmlLoadExtDtdDefaultValue, need a function. - HTMLtree.c: add support for xmlStringTextNoenc for XSLt HTML output with encoding disabled. Daniel
Daniel Veillard 2c833b66 2001-02-03T08:52:06 Dohhhhhh: - xmliO.c: Harry Blundell pointed out that xmlCheckFilename Dohhhhhh: - xmliO.c: Harry Blundell pointed out that xmlCheckFilename xmlCheckFilename should not be called from xmlFileOpenW and xmlGzfileOpenW Daniel
Daniel Veillard e99a4767 2001-02-01T04:34:35 fixed a number of problems in XPATH_XSLT_TREE processing Daniel * xpath.c: fixed a number of problems in XPATH_XSLT_TREE processing Daniel
Daniel Veillard 2b325a0b 2001-01-31T20:46:31 XSLT debug side effect: * xpath.c: fixed mod operator Daniel
Daniel Veillard 2f913b74 2001-01-31T13:23:49 Fixes inherited from XSLT testing: - xpath.c result/XPath/tests/chaptersbase result/XPath/tests/simplebase: fixed XPath node() - tree.c: small fix in xmlNewNs() - Makefile.am: removed extraneous xml2Conf.sh rule Daniel
Daniel Veillard f17e09bc 2001-01-25T13:55:35 Incorporated patches, some cleanup: - xpath.[ch] xpointer.c: added xmlXPathCmpNodes, changed xmlXPtrCmpPoints to use it. - propagated the following patch from Alejandro Forero - include/win32config.h xmlIO.c: applied further suggestions from Igor Zlatkovic <igorz@dialup.nacamar.de> and cleanup - example/gjobread.c: fixed warnings, now that it builds Daniel
Daniel Veillard 8a7642fd 2001-01-22T10:45:16 Memory issues on the new type: - xpath.c: when copying a XSLT tree object the tree need to be copied too, and deallocation need to occur the same way. Daniel
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 5a2b697a 2001-01-20T21:15:50 - xpath.c: seems I finally killed that ugly path evaluation context bug (tagged 9999 in case is is wrong) Daniel
Daniel Veillard 8f4d9757 2001-01-19T05:32:34 added xmlXPathRegisterVariableLookup() for XSLT Daniel * xpath.[ch] xpathInternals.h: added xmlXPathRegisterVariableLookup() for XSLT Daniel
Daniel Veillard f6eea27b 2001-01-18T12:17:12 Bugfixes, extesion and optimizations for XSLT: - xpath.c: removed an error found by XSLT usage - tree.c parserInternals.h: use a predefined static string for text and comment nodes, avoid freeing them in xmlFreeNode, exported the string name in parserInternals.h and added another value to disable encoding at output (for XSLT), gain memory, time. 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 08108984 2001-01-03T15:24:58 - testXPath.c xpath.c: fixing the XPath union expressions problem reported by Martin Vidner <martin@artax.karlin.mff.cuni.cz> Daniel
Daniel Veillard a6d8eb62 2000-12-27T10:46:47 Finally had a bit of time to resynch both trees: - HTMLparser.[ch]: added a way to avoid adding automatically omitted tags. htmlHandleOmittedElem() allows to change the default handling. - tree.[ch] xmllint.c: added xmlDocDumpFormatMemory() and xmlDocDumpFormatMemoryEnc(), uses memory functions for output of xmllint too when using --memory flag, added a memory test suite at the Makefile level. - xpathInternals.h xpath.[ch] xpointer.c: fixed problems with namespace use when encountering QNames in XPath evalation, added xmlns() scheme in XPointer. - nanoftp.c : incorporated a fix - parser.c xmlIO.c: fixed problems raised with encoding when using the memory I/O - parserInternals.c: closed bug 25934 reported by torsten.landschoff@innominate.de - TODO: updated Daniel
Daniel Veillard ce6e98d6 2000-11-25T09:54:49 Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c xpath.c parserInternals.h vms/build_libxml.com vms/config.vms Makefile.am: integrated a set of OpenVMS changes from Howard Taylor <Howard.Taylor@pacoast.com> Daniel
Daniel Veillard f62ceffb 2000-11-24T23:36:01 General fixes, XPointer improvements: - HTMLparser.c: some fixes on auto-open of html/head/body - encoding.c: fixed a compilation error on some gcc env - xpath.c xpointer.[ch] xpathInternals.h: improved the XPointer implementation - test/XPath/xptr/strpoint test/XPath/xptr/strrange3: added related XPointer tests and associated results Daniel
Daniel Veillard 41e06513 2000-11-13T11:47:47 A few serious bugfixes: - parser.[ch] parserInternals.c: applied the conditional section processing fix from Jonathan P Springer <jonathan.springer2@gte.net> - xmlversion.h.in win32/libxml2/libxml2.dsp : Updated MS project file, fixed iconv default non support - xpath.c: fixed the problem of evaluating relative expressions when a node context is provided. 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 a5db68a3 2000-10-29T18:06:06 - xpath.c xpathInternals.h: applied a large cleaning patch from TOM <ptittom@free.fr>, it also add namespace support for function and variables registration. Daniel
Daniel Veillard c4f4f0b7 2000-10-29T17:46:30 - xpath.c: fixed the root evaluation problems - HTMLparser.c result/HTML/doc3.htm: fixed the problem of non ignorable spaces with <b> <bold> <em> - tree.c: fixed a loop in xmlSearchNsByHref() Daniel
Daniel Veillard 767662db 2000-10-27T17:04:52 - xpath.c: applied another XPath patch from TOM - xpath.c include/makefile.am: applied another patch from china@thewrittenword.com (cleanup on IRIX). Daniel