This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
startingLoc and length should be allowed to be empty. Often these values are being calculated and the static type of the calculation will result in an optionally empty type. Proposed rewording: fn:subsequence($sourceSeq as item()*, $startingLoc as xs:double?) as item()* fn:subsequence( $sourceSeq as item()*, $startingLoc as xs:double?, $length as xs:double?) as item()* Summary: Returns the contiguous sequence of items in the value of $sourceSeq beginning at the position indicated by the value of $startingLoc and continuing for the number of items indicated by the value of $length. If $startingLoc is the empty sequence, the error FORG--99 is raised. If $length is the empty sequence, the result is the empty sequence. More specifically, returns the items in $sourceString whose position $p obeys: ...
The working group considered this comment at its meeting today and decided not to accept it. For rationale, please see bug 1467.