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.
Sometimes, one browser or another provides more useful information in an error. This time, Chromium is the winner:
The expression is not a legal expression.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.