Skip to content

Error handling for failed XPath evaluations #4

@bbarker

Description

@bbarker

Sometimes, one browser or another provides more useful information in an error. This time, Chromium is the winner:

  • Firefox: The expression is not a legal expression.
  • Chromium: Failed to execute 'evaluate' on 'Document': The string '/x:record/x:identifier/x:@identifierType' is not a valid XPath expression.

This raises the issue of what our error reporting API should really be for evaluate, and should we duplicate effort already handled by (some) browsers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: documentationImprovements or additions to documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions