# HG changeset patch # User cmlenz # Date 1155752407 0 # Node ID 4792730ebb202d6fde4ba24b2a21a624fb7f2c38 # Parent 9a5aedda10990fe19f528dd8bd489715972843fc Updated !ChangeLog to reflect [197]. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,12 @@ * Output can be encoded using legacy codecs such as ISO-8859-1, any character not representable in the chosen encoding gets replaced by the corresponding XML character reference. + * String literals in XPath expressions that contain spaces are now parsed + as expected. + * Added support for the XPath functions boolean(), ceiling(), concat(), + contains(), false(), floor(), normalize-space(), number(), starts-with(), + string-length(), substring(), substring-after(), substring-before(), + translate(), and true(). Version 0.1 diff --git a/markup/path.py b/markup/path.py --- a/markup/path.py +++ b/markup/path.py @@ -756,7 +756,6 @@ def __repr__(self): return 'true()' - _function_map = {'boolean': BooleanFunction, 'ceiling': CeilingFunction, 'concat': ConcatFunction, 'contains': ContainsFunction, 'false': FalseFunction, 'floor': FloorFunction,