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 29583 - [XP31] No constructor for xs:anySimpleType
Summary: [XP31] No constructor for xs:anySimpleType
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-20 20:11 UTC by Michael Kay
Modified: 2016-04-29 12:26 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2016-04-20 20:11:20 UTC
Section 3.18.3 (cast) and 3.18.4 (castable) say

the target type cannot be xs:NOTATION, xs:anySimpleType, or xs:anyAtomicType [err:XPST0080].

But 3.18.5 (constructor functions) says only:

For every simple type in the in-scope schema types (except xs:NOTATION and xs:anyAtomicType, which are not instantiable), a constructor function is implicitly defined

There is no constructor function for xs:anySimpleType.
Comment 1 Jonathan Robie 2016-04-26 15:27:59 UTC
Nice catch. I'll fix this.
Comment 2 Andrew Coleman 2016-04-29 12:26:19 UTC
At the meeting on 2016-04-26, the WG agreed to add xs:anySimpleType to the list of types for which there is no constructor function.  Action A-641-03 was raised to track this change.