Project

Profile

Help

Bug #1598

closed

(Maybe) wrong handling of empty sequences in fn:min() and fn:max()

Added by Stefan Krause over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
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

trash.xml (57 Bytes) trash.xml Stefan Krause, 2012-07-29 11:13
trash.xsl (364 Bytes) trash.xsl Stefan Krause, 2012-07-29 11:16

Please register to edit this issue

Also available in: Atom PDF