<?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>2292</bug_id>
          
          <creation_ts>2005-09-24 17:46:33 +0000</creation_ts>
          <short_desc>Editorial: why is fn:number in section &quot;14 Functions and Operators on Nodes&quot;</short_desc>
          <delta_ts>2006-09-18 10:38:38 +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 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</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></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="Ashok Malhotra">ashok.malhotra</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>6429</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2005-09-24 17:47:02 +0000</bug_when>
    <thetext>I don&apos;t know whether issues like these are too minor to spend the time on it(if
so, tell me), but:

Why is fn:number put in section 14 Functions and Operators on Nodes? All other
functions and operators in section 14 are from what I can tell clearly bound to
nodes by that they have nodes as argument(s) or return values. fn:number, on the
contrary, takes either the context item node or an atomic value(may be a node
via atomization, of course).

Wouldn&apos;t &quot;15.1 General Functions and Operators on Sequences&quot; be a better place?
For example, the fn:boolean function is there, which can be said to be
conceptually similar(it derives a value from a sequence).

This is of course only a minor, editorial issue. Perhaps the current layout have
a clear motivation, which in that case would be interesting to hear.


Cheers,
Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6430</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-09-24 17:50:26 +0000</bug_when>
    <thetext>Personal response: I think we discovered a while ago that the organisation of
functions into sections and subsections is impossibly arbitrary, and that trying
to rationalise it would be an unending task. Best just to accept it and let it be.

Michael Kay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6493</commentid>
    <comment_count>2</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-09-27 15:20:05 +0000</bug_when>
    <thetext>The original rationale for putting fn:number in section 14 was that if no
arguments are specified, the context item is used as the default argument.  As
Michael Kay says, we have not found an overarching organizing principle for
assigning functions to sections so the decisions are somewhat arbitrary.  I&apos;m
going to close this bug.  If you feel strongly you can reopen it later.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>