-
Notifications
You must be signed in to change notification settings - Fork 2
Error handling for failed XPath evaluations #4
Copy link
Copy link
Open
Labels
type: documentationImprovements or additions to documentation.Improvements or additions to documentation.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: documentationImprovements or additions to documentation.Improvements or additions to documentation.