NPE in compiling xsl:iterate under 22.214.171.124
The attached works under 126.96.36.199 but yields NPE during compilation at XSLNextIteration.java:135 under 188.8.131.52
It appears to be related to the starting parameter value, and the type of $offsets.
(Of course in reality the true function is much more complex and realistic, but this seems to have almost the minimum - I haven't tried it not being under a function...)
Updated by Michael Kay over 9 years ago
- Category set to XSLT conformance
- Assignee set to Michael Kay
- Priority changed from Low to Normal
- Found in version set to 9.5
Thanks for reporting it. In this instance, the problem occurs because the parameter being set by xsl:next-iteration is never used. Because it is never used, it has been "optimized out", and the code that handles the with-param has not allowed for this possibility.
Please register to edit this issue