Amara 2.0. Amara XML toolkit is an open-source collection of Python tools for XML processing, not just tools that happen to be written in Python, but tools built from the ground up to use Python idioms and take advantage of the many advantages of Python over other programming languages.
When I hit an error in an XSL transform, amara triggers a KeyError while attempting to handle the error, giving the following traceback:
File "/Library/Python/2.6/site-packages/amara/xslt/tree/attribute_types.py", line 457, in prepare
col=element.columnNumber, msg=str(error))
File "/Library/Python/2.6/site-packages/amara/init.py", line 29, in init
message %= kwds
KeyError: 'text'
When I hit an error in an XSL transform, amara triggers a KeyError while attempting to handle the error, giving the following traceback:
File "/Library/Python/2.6/site-packages/amara/xslt/tree/attribute_types.py", line 457, in prepare col=element.columnNumber, msg=str(error)) File "/Library/Python/2.6/site-packages/amara/init.py", line 29, in init message %= kwds KeyError: 'text'