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 28224 - [XSLT 3.0] Type-determined usage for union types
Summary: [XSLT 3.0] Type-determined usage for union types
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC All
: P2 normal
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: 2015-03-16 10:30 UTC by Michael Kay
Modified: 2015-10-29 09:50 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2015-03-16 10:30:50 UTC
The type-determined usage for union types should be the same as for atomic types, because they trigger atomization in the same way as atomic types. (It is currently the same as for nodes).
Comment 1 Abel Braaksma 2015-03-18 12:12:58 UTC
Related, there are two small typos, both under 19.8.9.8 (fn:fold-left) and 19.8.9.10 (fn:for-each) where "type determined usage" is written (without hyphen) and not linked to the definition.

I agree to the suggestion in the bug description. Note that under 6.6.4 Streamable Templates, this was already recognized (but see bug 28154, this should become type-adjusted posture and sweep):

<quote>
The xsl:template element has an as attribute that specifies an atomic or union type.
</quote>
Comment 2 Michael Kay 2015-04-16 22:05:05 UTC
The change was accepted and has been applied.