Actions
Bug #1598
closed![Author: Stefan Krause](https://www.gravatar.com/avatar/2e2bda7d37700dca8ee733f5dfb6ab7c?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
(Maybe) wrong handling of empty sequences in fn:min() and fn:max()
Start date:
2012-07-29
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
The xpath expression "min( (for $i in () return . )[.] )" fails with "net.sf.saxon.pattern.EmptySequenceTest cannot be cast to net.sf.saxon.type.BuiltInAtomicType" at net.sf.saxon.functions.Minimax.typeCheck(Minimax.java:113). Same applies to "max( (for $i in () return . )[.] )".
Files
Please register to edit this issue
Actions