<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>29618</bug_id>
          
          <creation_ts>2016-05-08 13:41:12 +0000</creation_ts>
          <short_desc>[FO31] Missing typename in section 19.1, xs:anySimpleType does not have a constructor</short_desc>
          <delta_ts>2016-07-21 14:17:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 3.1</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>126372</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-05-08 13:41:12 +0000</bug_when>
    <thetext>The opening paragraph of 19.1 says:

&quot;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. &quot;

This should be:

&quot;..., except xs:anyAtomicType, xs:anySimpleType and xs:NOTATION, has an...&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126681</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-06-06 15:47:03 +0000</bug_when>
    <thetext>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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126685</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-06-07 10:36:22 +0000</bug_when>
    <thetext>(In reply to Michael Kay from comment #1)
&gt; This text actually appears at the start of 18.1, not 19.1.
Oops...

&gt; So I propose the text:
Looks good to me, much clearer :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126752</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-06-14 14:29:03 +0000</bug_when>
    <thetext>The proposed change was agreed and has been applied.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>