Project

Profile

Help

Bug #4944

closed

Error XPTY0004 on Saxon-HE 10.3 (not on 9.9.1-8)

Added by Pavel Vítkovský about 3 years ago. Updated about 3 years ago.

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

100%

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

Description

I encountered what appears to be a bug in release 10.3. Attached stylesheet fails with the following message:

Error at char 9 in expression in xsl:value-of/@select on line 6 column 51 of stylesheet.xsl:
  XPTY0004  Cast does not allow an empty sequence
  In template rule with match="/" on line 4 of stylesheet.xsl
Cast does not allow an empty sequence

The same stylesheet works with version 9.9.1-8.


Files

stylesheet.xsl (394 Bytes) stylesheet.xsl Pavel Vítkovský, 2021-03-22 10:46
issue4944.zip (10.7 MB) issue4944.zip Pavel Vítkovský, 2021-03-22 14:49
stacktrace.txt (4.2 KB) stacktrace.txt Pavel Vítkovský, 2021-03-22 14:49

Please register to edit this issue

Also available in: Atom PDF