Project

Profile

Help

Bug #2632

closed

Type checking of patterns assumes context item is a node

Added by Michael Kay about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2016-02-20
Due date:
% Done:

100%

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

Description

In typeCheck(String name, Pattern pattern), the code assumes that the context item type will be a node.

This is causing a failure in HE (reported by Martin Honnen on the support email address) in a match pattern that matches arrays. It's not clear why such a basic error in the code, on a widely used path, should have such limited symptoms; in particular, why it should fail in HE and not in EE.

Please register to edit this issue

Also available in: Atom PDF