Project

Profile

Help

Bug #3563

closed

Pattern schema-element(ITEM)/AUTHOR is not motionless

Added by Michael Kay almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Streaming
Sprint/Milestone:
-
Start date:
2017-12-08
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.8, trunk
Fix Committed on Branch:
9.8, trunk
Fixed in Maintenance Release:
Platforms:

Description

In a streamable schema-aware stylesheet, use of a pattern such as

match="schema-element(ITEM)/AUTHOR"

passes static analysis as a motionless pattern, but fails at execution time saying:

java.lang.UnsupportedOperationException: net.sf.saxon.trans.XPathException: Navigation using child axis is not supported from a streamed input node

It appears to have been compiled as a GeneralNodePattern rather than as an AncestorQualifiedExpression.

Please register to edit this issue

Also available in: Atom PDF