Project

Profile

Help

Bug #5369

closed

In complex XSLT patterns, the "child-or-top" logic for parentless elements is not implemented

Added by Michael Kay over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2022-03-03
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, 11, trunk
Fix Committed on Branch:
10, 11, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

Illustrated by new test case match-274.

In cases where a pattern has to be evaluated "the hard way" (using the logic described in the spec, rather than the right-to-left optimised evaluation) we aren't implementing the rule in the spec that an initial X step in the pattern matches child-or-top::X rather than child::X - that is, it should match an X element whether or not it has a parent.

Applies also to SaxonJS

Please register to edit this issue

Also available in: Atom PDF