<?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>29963</bug_id>
          
          <creation_ts>2016-10-30 15:40:25 +0000</creation_ts>
          <short_desc>[FO31] Relation item type vs list types</short_desc>
          <delta_ts>2016-12-16 19:55:27 +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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>josh.spiegel</cc>
          
          <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>127980</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-10-30 15:40:25 +0000</bug_when>
    <thetext>(part of the series of issues on FO31 review)

The section 1.6 on the type system does not make clear what the relation is between item and list types. In particular, the first diagram starts with item, and has xs:anyAtomicType as a descendant. The second diagram also has xs:anyAtomicType in it, with xs:anySimpleType as parent.

You may deduce from this that item == xs:anySimpleType, or more indirectly, item is a parent (and therefore an instance of) list types, but I doubt that is the intent.

I have to admit I am not sure how this could be drawn differently, perhaps a note that explains the relation between diagram 1 and 2 better?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127981</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-10-30 18:19:03 +0000</bug_when>
    <thetext>F+O merely copies these diagrams from the Data Model spec.

There is no relation between item types and list types, other than the fact that both (unfortunately) use the same word &quot;type&quot; in their names. Item types fit into the hierarchy rooted at item(), which is defined in XDM, while list types fit into the hierarchy rooted at xs:anyType, which is defined in XSD. Comparing the two is a category error.

We&apos;ve made good progress in separating the concepts since XDM 1.0, which attempted to show both hierarchies on a single diagram.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127991</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-10-31 23:30:26 +0000</bug_when>
    <thetext>Reclassified as F+O 3.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128000</commentid>
    <comment_count>3</comment_count>
    <who name="Josh Spiegel">josh.spiegel</who>
    <bug_when>2016-11-01 15:35:05 +0000</bug_when>
    <thetext>The introduction sentence calls out that the type system comprises two distinct subsystems that both include primitive atomic types.  Mike will try to restructure the section to help clarify this.  I am closing the bug but feel free to reopen with suggestions on further clarifications that you think would be helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128007</commentid>
    <comment_count>4</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-11-01 16:11:15 +0000</bug_when>
    <thetext>Seems reasonable, tx.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>