<?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>3716</bug_id>
          
          <creation_ts>2006-09-13 11:28:17 +0000</creation_ts>
          <short_desc>Editorial: clarify that none is subtype of all types</short_desc>
          <delta_ts>2006-09-27 09:48:13 +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>Formal Semantics 1.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>editorial</keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Frans Englich">frans.englich</reporter>
          <assigned_to name="Jerome Simeon">simeon</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>11644</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-09-13 11:28:17 +0000</bug_when>
    <thetext>For an expression such as &quot;zero-or-one(error())&quot;, where the fn:error() is exclusively an operand to an expression instead of for example zero-or-one((1, error())), seems to meet the reactions that it should work, but that the formal semantics doesn&apos;t allow it to. See discussion in #3675:

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3675


Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11850</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-09-19 10:53:50 +0000</bug_when>
    <thetext>Jerome clarified this in #3675:

&quot;The type &apos;none&apos; is a subtype of every type. See subtyping Section 8.3.2-- t1 is a subtype of t2 iff every value v, v matches t1 implies v matches t2. Since no value matches &apos;none&apos;, none &lt;: t for every t.&quot;

Tim suggests the editorial change that:

&quot;Might it be worth spelling that out for clarity in the notes of
section 8.3.2?&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12036</commentid>
    <comment_count>2</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-09-26 14:06:16 +0000</bug_when>
    <thetext>Frans,
Thanks for your comment.
The XSLT and XML Query working group has decided to
close that comment, without changes to the normative
part of the text, but adding a clarification in
Section 8.3.2 on subtyping to indicate that &apos;none&apos;
is a subtype of every type.
This comment is reclassified as editorial.
Best,
- Jerome
On Behalf of the XSLT and XML Query WGs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12079</commentid>
    <comment_count>3</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-09-27 09:48:13 +0000</bug_when>
    <thetext>Yes, an editorial clarification was what was needed here.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>