Bug #2041
closedNPE: xsl:iterate/xsl:param with no @select attribute
0%
Description
I cannot give any guesses as to what is causing it, but the attached script gives a compile-time NPE in 9.5.1.3 EE.
Files
Updated by Michael Kay over 10 years ago
- Category set to Diagnostics
- Status changed from New to In Progress
- Assignee set to Michael Kay
- Priority changed from Low to Normal
I see different symptoms under 9.5.1.5:
Error at xsl:param on line 24 of NPE_public_Repro.xsl:
Internal error: No select expression
Still not good diagnostics, but it does point to the cause, which is the absence of a select attribute on the xsl:param. This is needed in xsl:iterate to provide an initial value for the paramter.
Updated by Michael Kay over 10 years ago
I have raised spec bug 25158 because there is an error condition here which the XSLT 3.0 spec doesn't cover.
Updated by Michael Kay over 10 years ago
Added W3C XSLT 3.0 test case iterate-902
Updated by Michael Kay over 10 years ago
- Status changed from In Progress to Resolved
Fixed on the 9.5 and 9.6 branches. Provisional error code awaiting W3C action.
Updated by O'Neil Delpratt about 10 years ago
- Status changed from Resolved to Closed
Bug fix applied in the Saxon maintenance release 9.5.1.6
Updated by Michael Kay about 10 years ago
- Subject changed from NPE with unknown cause to NPE: xsl:iterate/xsl:param with no @select attribute
Please register to edit this issue