Skip to content

KeyError when handling errors #14

@chimezie

Description

@chimezie

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions