This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29968 - [XDM 3.1] XDM - implied limit on array size
Summary: [XDM 3.1] XDM - implied limit on array size
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Data Model 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Andrew Coleman
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-31 17:24 UTC by Michael Kay
Modified: 2016-11-04 14:12 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2016-10-31 17:24:07 UTC
In 2.8.3.1, the signature of the accessor function

dm:array-size($array as array()) as xs:unsignedLong

could be read as implying that implementations must allow an array with 2^64-1 members, or alternatively that they must not allow it to have more than this number. I don't believe either of these interpretations is intended.

I suggest therefore that the type of the result be changed to xs:nonNegativeInteger.
Comment 1 Andrew Coleman 2016-11-04 14:12:38 UTC
The WG agreed.  The change has been applied.