Actions
Bug #2278
closedPattern descendant::text()[1] gives a spurious warning, and no matches
Start date:
2015-01-04
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
When the pattern match="descendant::text()[1]" is used in a template rule, then
(a) there is a spurious warning that "the descendant axis starting at a text node will never select anything"
(b) the pattern never matches anything.
Both effects are caused by an incorrect type inference.
Added to W3C test suite as test case match-236.
Please register to edit this issue
Actions