Actions
Bug #1563
closed![Author: Philip Fearon](https://www.gravatar.com/avatar/dd3c76e6c50a14203d6d7d6b989425fc?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Philip Fearon](https://www.gravatar.com/avatar/dd3c76e6c50a14203d6d7d6b989425fc?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Unhelpful error message when using the '/' root node expression with no context item
Start date:
2012-06-20
Due date:
% Done:
100%
Estimated time:
Platforms:
Description
Using an XPath expression such as in the instruction <xsl:value-of select="/any"/>
when there is no context item results in an error message such as 'unable to get the value of property Qe: object is null...'
The error message should be similar to: Error XPDY0002: at /xsl:transform/xsl:function/xsl:value-of: Leading '/' cannot select the root
node of the tree containing the context item: the context item is undefined
This is now resolved - the cause was associated with the building of the error message
Updated by O'Neil Delpratt over 11 years ago
- Status changed from Resolved to Closed
- Sprint/Milestone set to Release 1.1
- Fixed in version set to 1.1
Bug fixed for Saxon-CE version 1.1 release
Please register to edit this issue
Actions