<?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>30321</bug_id>
          
          <creation_ts>2018-12-01 14:38:22 +0000</creation_ts>
          <short_desc>[XSLT30] (editorial) Section in fn:document explaining atomization of nodes assumes a single node can be atomized to a sequence of more-than-one, this is confusing</short_desc>
          <delta_ts>2018-12-02 20:47:32 +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>XSLT 3.0</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.online</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>129389</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.online</who>
    <bug_when>2018-12-01 14:38:22 +0000</bug_when>
    <thetext>The section in fn:document (20.1), the second bullet point, reads:

&quot;For an item in $uri-sequence that is a node, the node is atomized. The result must be a sequence whose items are all instances of xs:string, xs:anyURI, or xs:untypedAtomic. Each of these values ....&quot;

The text starts with &quot;an item ... that is a node&quot;. If a node is atomized, it will typically lead to a sequence of one. If the typed value is a list type, it may return a sequence of more-than-one, but this requires a schema-aware processor.

I find this confusing. While the text is not technically wrong, I propose that in an upcoming erratum we clarify this, for instance by mentioning the exceptional case that can lead to more-than-one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129390</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2018-12-01 17:40:19 +0000</bug_when>
    <thetext>I think that the spec should define what happens in the general case, and should not concern itself with the fact that for many users, the general case doesn&apos;t arise very often.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129392</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.online</who>
    <bug_when>2018-12-02 20:47:32 +0000</bug_when>
    <thetext>Yes, you&apos;re right. Let&apos;s close this one, the list of bugs is already long enough and this appears to be not really a bug ;).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>