Changeset 27183 in project


Ignore:
Timestamp:
08/04/12 14:49:44 (7 years ago)
Author:
sjamaan
Message:

Make xpath parser raise a proper error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/sxpath/trunk/chicken/xpath-parser.scm

    r27182 r27183  
    2323(set! txp:signal-semantic-error
    2424      (lambda text
    25         (error "XPath/XPointer semantic error: " text)))
     25        (apply error "XPath/XPointer semantic error: " text)))
    2626
    2727(set! sxml:xpointer-runtime-error
    2828      (lambda text
    29         (error "XPath/XPointer runtime error: " text)))
     29        (apply error "XPath/XPointer runtime error: " text)))
    3030
    31 )
     31(set! sxml:xpointer-parse-error
     32      (lambda text
     33        (apply error "XPath/XPointer parser error: " text))))
Note: See TracChangeset for help on using the changeset viewer.