- Apr 06, 2008
-
-
David Lichteblau authored
darcs-hash:2b6a99497964e338216de09af22a820f5c40e6b8
-
- Mar 24, 2008
-
-
David Lichteblau authored
Use XPATH-PROTOCOL:NODE-EQUAL rather than EQ/EQL on nodes. Use HASH-KEY with an EQUAL hash table instead of nodes in an EQL hash table. This change is motivated by the DOM-NAMESPACE and STP-NAMESPACE objects, which are consed up every time they are queried, yet need to be compared later. The alternative solutions would have been - caching of those objects in DOM, which requires changes to the DOM implementation - force use of a navigator for STP and DOM (awkward) Simply allowing duplicate nodes seems easier. darcs-hash:b0ccd40b33df1274fccb89650090ff5340d9276b
-
- Mar 16, 2008
-
-
David Lichteblau authored
darcs-hash:e93995f088e6dfb4cb45017a3432b03c48d4ab79
-
- Mar 02, 2008
-
-
David Lichteblau authored
darcs-hash:7a51b11ca39375d175498827bd59e4be00a29504
-
David Lichteblau authored
"oops" darcs-hash:124414697b6eca4a749814989db32489946b1315
-
- Feb 27, 2008
-
-
Ivan Shvedunov authored
Added atdoc documentation templates (mostly copied from Xuriella). Renamed xpath-protocol:string-value to xpath-protocol:node-text. Added xpath-protocol:node-text method for namespace nodes. Added list->node-set function (a simpler version of xpath-sys:make-node-set). darcs-hash:5157e09c5e43012d65211d1fb22d6b544a75ee54
-
- Feb 24, 2008
-
-
David Lichteblau authored
darcs-hash:d40b75c09b911dc74c448e12734de19df206bb38
-
David Lichteblau authored
- Reimplemented all xpath-protocol functions using a trampoline, e.g. so that (parent-pipe node) calls (parent-pipe-using-navigator *navigator* node) - All existing methods specialize on a default value for *navigator*. Added a convenience macro DEFINE-DEFAULT-METHOD for that purpose. - Only users of exotic data models need to bind *navigator* to an object of their choice. In particular, cxml/xml/xmls-compat.lisp provides a function cxml-xmls:make-xpath-navigator, which is implemented by plexippus-xpath/xmls-compat.lisp darcs-hash:20beb59300aba5a702a845952ab5efd5c982ccb2
-
Ivan Shvedunov authored
darcs-hash:bfacee78d09841b9f911b77239e7c926329b0856
-
- Feb 20, 2008
-
-
Ivan Shvedunov authored
Switched to dynamic bindings. Fixed "names" of character-data nodes. darcs-hash:24a16eac985183f1bfd66894f0c3c94a001e5f57
-
- Feb 18, 2008
-
-
Ivan Shvedunov authored
Added id(), namespace-uri(), floor(), round(), ceiling(). Added xpath-protocol:get-element-by-id and its implementation for DOM. Added *dom-builder* and *document-element* in xpath-test.lisp so that it's now possible to run unit tests for other document representations. darcs-hash:27372b9c5e8d77100eb75ccffe3cc070893a2de3
-
- Feb 10, 2008
-
-
david authored
darcs-hash:ed6e809bc22920416dbc9817f71e1d11a8d96295
-
- Feb 08, 2008
-
-
david authored
darcs-hash:d9b5115f3ef9c5ad360323c2308b31443cb384ba
-
- Dec 01, 2007
-
-
Ivan Shvedunov authored
Moved XPath parser to parser.lisp. Moved some of toplevel API to api.lisp. Added MAP-NODE-SET and DO-NODE-SET. Added proper unary minus handling. Added test cases for string representation of XPath in TEST-XPATH (previously TEST-XPATH/UNABBREVIATED). Made it possible to pass strings to compile-xpath. STRING-VALUE, NUMBER-VALUE, BOOLEAN-VALUE and NODE-SET-VALUE now can handle single nodes. Added XPATH-PROTOCOL:NODE-P. Compiler macro for EVALUATE now issues warning instead of error if EVALUATE is used outside lexical scope of (WITH-NAMESPACES (...) ...) Added some of missing XPath functions - substring(), true(), false(), boolean(), number() darcs-hash:973601a675f33d9ebcd85ef89b6270e702fbaa1d
-
- Nov 25, 2007
-
-
david authored
darcs-hash:2d8860ef9e911e6597859b4fa6ea89a4138523bc
-