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 29618 - [FO31] Missing typename in section 19.1, xs:anySimpleType does not have a constructor
Summary: [FO31] Missing typename in section 19.1, xs:anySimpleType does not have a con...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 editorial
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-05-08 13:41 UTC by Abel Braaksma
Modified: 2016-07-21 14:17 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2016-05-08 13:41:12 UTC
The opening paragraph of 19.1 says:

"Every built-in atomic type that is defined in [XML Schema Part 2: Datatypes Second Edition], except xs:anyAtomicType and xs:NOTATION, has an associated constructor function. "

This should be:

"..., except xs:anyAtomicType, xs:anySimpleType and xs:NOTATION, has an..."
Comment 1 Michael Kay 2016-06-06 15:47:03 UTC
This text actually appears at the start of 18.1, not 19.1.

The text is correct, because xs:anySimpleType is not an atomic type.

I propose to add an intro between the headings for sections 18 and 18.1 (I've come across copy-editors who believe passionately that such an intro is necessary before any N.N.1 heading, and it does no harm to mollify them.)

So I propose the text:

This section describes constructor functions corresponding to simple types defined in [XSD part 2]. Constructor functions are used to convert a supplied value to a given type. They always take a single argument, and the name of the function is the same as the name of the target type.

Constructor functions are defined for all user-defined named simple types, and for most built-in atomic, list, and union types. The only named simple types that have no constructor function are those that have no instances other than instances of their derived types: specifically, xs:anySimpleType, xs:anyAtomicType, and xs:NOTATION.
Comment 2 Abel Braaksma 2016-06-07 10:36:22 UTC
(In reply to Michael Kay from comment #1)
> This text actually appears at the start of 18.1, not 19.1.
Oops...

> So I propose the text:
Looks good to me, much clearer :)
Comment 3 Michael Kay 2016-06-14 14:29:03 UTC
The proposed change was agreed and has been applied.