Project

Profile

Help

Bug #6249

closed

Internal error reported: xsl:evaluate/@context-item expression is present, but evaluates to empty sequence

Added by Michael Kay 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2023-11-10
Due date:
% Done:

100%

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

Description

Reported by email on support@s...

I am not able to pinpoint the cause of an error I am getting running a transform (Internal error evaluating template rule at line 320 in module file:/C:/temp/saxon/preprocess.xsl)

I've attached a zip file that contains the source file and the XSLT. The source file is 1138869155744808.xml and the main stylesheet is formulary_preprocess.xsl. When I run the transform in Oxygen I get the same error as when it runs in our application.

If I set a breakpoint at line 1639 in file 1138869155744808.xml, it will run to that point. From there I can click step-into until I get to line 60 in preprocess.xsl. I click two more times and I get the error message (Internal error evaluating template rule at line 45 in module file:/C:/temp/saxon/preprocess.xsl).

The English version of this document works just fine, so I am wondering if the error has something to do with the Chinese characters in this document.

Please register to edit this issue

Also available in: Atom PDF