Skip to content

Malformed XPath filters fail silently at client side. #33

@timstaley

Description

@timstaley

I can start Comet with an XPath filter, like so:

 twistd -n comet --remote localhost \
    --filter='not(starts-with(@ivorn,"ivo://voevent.phys.soton.ac.uk/FOO"))'

which works fine. But, if the XPath is broken, e.g.

--filter='not(starts-with(@ivorn,"ivo://voevent.phys.soton.ac.uk/FOO"'

(note missing close brackets), then Comet will start up quietly and the filter will silently fail. Currently, the only way to check if the XPath translates to a successfully installed filter is to monitor the logs at the server end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions