Skip to content

Fix limitation in xpath engine that makes us rename elements from text to texxt #1

@pconstrictor

Description

@pconstrictor

See:
https://code.google.com/p/py-dom-xpath/issues/detail?id=8
Cannot access an element whose name is 'text'

Some XML files (such as LIFT files) can have elements named but the xpath engine I selected has a bug that won't match on those. Current workaround is to bulk replace all with before parsing the file, and likewise to tweak the XPaths in the config file to texxt. Grr.

Note: I chose that engine, py-dom-xpath, because it was pure Python and thus easier for cross-platform, especially since we don't currently control the "installer" mechanism.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions