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 29979 - [XSLT30] Imposing limits on the priority attribute
Summary: [XSLT30] Imposing limits on the priority attribute
Status: RESOLVED WONTFIX
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-05 10:43 UTC by Abel Braaksma
Modified: 2016-11-10 18:04 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2016-11-05 10:43:11 UTC
We have recently allowed processors to impose limits on version numbers for packages. Another aspect of the spec that has unlimited range is the priority attribute for templates.

I propose we do something similar as we did with versioning, except we can choose a more natural limit here, since it is only one number. I propose a rule something like the following:

<proposal>
Implementations may impose limits on the range of allowed decimal values and its precision, but it *must* be no less than 16 digits precision.
</proposal>

This range follows the minimal range XSD 1.1 imposes.

I don't propose to use a new error for this, implementations can re-use error XTSE0020 (invalid attribute value).
Comment 1 Abel Braaksma 2016-11-10 18:04:44 UTC
This bug was discussed today by the WG and decided to leave it unchanged, noting that this attribute is defined in terms of xs:decimal, which in turn has an implementation-defined limit itself already.

Closed with no action.