Project

Profile

Help

Bug #2992

closed

treat as not testing sequence cardinality

Added by John Lumley about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2016-10-11
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
0.9
Fix Committed on JS Branch:
0.9
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

The treat as operator code is testing type conformance, but not sequence cardinality, as illustrated by cbcl-treat-as-011 -

(1 to 10)[. mod 2 = 0] treat as xs:integer

which returns (2,4,6,8,10) incorrectly.

Please register to edit this issue

Also available in: Atom PDF Tracking page