NPE in compiling xsl:iterate under 184.108.40.206
The attached works under 220.127.116.11 but yields NPE during compilation at XSLNextIteration.java:135 under 18.104.22.168
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 about 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