Skip to content
  1. Feb 02, 2011
  2. May 16, 2008
  3. Mar 02, 2008
  4. Mar 01, 2008
    • Ivan Shvedunov's avatar
      Fixed some bugs, added some missing features. · 1a1c6bbc
      Ivan Shvedunov authored
      Fixed xnum parsing / unparsing.
      Fixed comparison operators.
      Added lang() function.
      Node sets returned by EVALUATE and EVALUATE-COMPILED now are automatically sorted
      using document order by default.
      Fixed following:: axis (again).
      Fixed NODE-TEST-NAME for namespace nodes.
      Numbers in XPath expressions are now never parsed into SINGLE-FLOAT.
      Added SORT-NODE-SET function.
      
      darcs-hash:f11136c9917dee6bd41d96f3e8950db389c78b55
      1a1c6bbc
  5. Feb 28, 2008
  6. Feb 24, 2008
  7. Nov 25, 2007
    • david's avatar
      fixed mappend-pipe for empty subpipes · bd9bf62f
      david authored
      darcs-hash:f28b33b1e2da78f194b265817967068d0d49fd2a
      bd9bf62f
    • david's avatar
      applied parse-xpath-3.diff: · 738a5991
      david authored
      functions.lisp
              - new function XPATH:UNION for the | operator
                (not a keyword because not technically an XPath function)
      
      lexer.lisp
      	Lots of fixes.
      
      node-tests.lisp
      	- NODE-TEST-NAME
      	  Added the namespace URI as an optional second argument.
      	- NODE-TEST-NAMESPACE
      	  New, checks only the namespace and not the local name.
      	- NODE-TEST-PROCESSING-INSTRUCTION
      	  Added the name to check as an optional argument.
      
      types.lisp
      	- CONTEXT-VARIABLE-VALUE
      	  New generic function looking up variable values during
      	  evaluation.
      	- ENVIRONMENT
      	  New struct, basically a compilation-time context.
      	- ENVIRONMENT-FIND-NAMESPACE
      	  New generic function for prefix -> uri lookups
      	- ENVIRONMENT-FIND-FUNCTION
      	  New generic function for (local-name uri) -> function lookups.
      	- ENVIRONMENT-VALIDATE-VARIABLE
      	  New generic function that returns true if the variable is
      	  declared.
      	- TEST-ENVIRONMENT
      	  An environment that pretends to know about every namespace,
      	  function, and variable. For use only in parser tests.
      
      xpath.lisp
      
      	- MAKE-LOCATION-STEP
      	  Now accepts the list of predicates instead of just one
      	  predicate.
      	- COMPILE-PREDICATES
      	  helper function for make-location-step
       	- DECODE-QNAME, FIND-NAMESPACE
      	  New
      	- COMPILE-XPATH
      	    * New second argument `environment'.
      	    * For function calls, check if the function name is a string
      	      rather than a symbol, and if so, look it up in the enviroment.
      	    * New: variables
      	    * New: filters
      	- COMPILE-VARIABLE
      	  New
      	- COMPILE-NODE-TEST
      	  Split qnames.  And allow lists as node-tests to handle
      	  :namespace, named :processing-instruction, and pre-parsed :qname
      	- COMPILE-LOCATION-STEP
      	    * New second argument `environment'.
      	    * Accept multiple predicates.
      	- COMPILE-PATH
      	  New second argument `environment'.
      	- COMPILE-FILTER-PATH
      	  New
      
      axis.lisp
      	- new axis :namespace
      	- new axis :following-sibling
      	- new axis :preceding-sibling
      	- new axis :following
      	- new axis :preceding
      	- new axis :ancestor-or-self
      	and
      	- pseudo axis :root  -- FIXME: is this right?
      
      darcs-hash:828be75c0208ef166e480cfe33eb83b3ac57f285
      738a5991
    • david's avatar
      Ivan Shvedunov's XPath implementation · 1ed90069
      david authored
      darcs-hash:b96e13c8d54121d1fbfffc220ff442053e425942
      1ed90069