<?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>1609</bug_id>
          
          <creation_ts>2005-07-15 00:03:26 +0000</creation_ts>
          <short_desc>two notations for function evaluation (= and =&gt;)</short_desc>
          <delta_ts>2007-01-16 17:27:40 +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>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 2000</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="Fred Zemke">fred.zemke</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>4685</commentid>
    <comment_count>0</comment_count>
    <who name="Fred Zemke">fred.zemke</who>
    <bug_when>2005-07-15 00:03:26 +0000</bug_when>
    <thetext>2.1.4 Notations for environments
The specification uses more than one notation to indicate the
evaluation of a static environment member that is a function.
See for example 3.1.1.1 &quot;Resolving QNames to expanded QNames&quot;
uner &quot;Semantics&quot; the first inference has the following judgment 
above the line:

statEnv.namespace(NCName) = URI-or-EmptyNamespace

This means that the statEnv.namespace member is a function.
When you evaluate this function for NCName, you get 
URI-or-EmptyNamespace.  Contrast this example with section 
7.1.9 &quot;Type Expansion&quot; second inference, second line:

statEnv.typeDefn(expanded-QName) =&gt; define type ...

Sometimes you use = and sometimes you use =&gt; for the same 
meaning, the result of evaluating a function that is a member
of an environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4711</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-15 19:07:29 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt;
&gt; ... section 
&gt; 7.1.9 &quot;Type Expansion&quot; second inference, second line:
&gt; 
&gt; statEnv.typeDefn(expanded-QName) =&gt; define type ...

You must be looking at an old draft. It was &apos;=&gt;&apos; up to the 20050404 draft, but
was changed to &apos;=&apos; in the 20050603 draft. (And the last time &apos;Type expansion&apos;
was section 7.1.9 was the 20040220 draft, the previous Last Call.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4875</commentid>
    <comment_count>2</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-07-19 16:44:21 +0000</bug_when>
    <thetext>I believe this is editorial.
- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9161</commentid>
    <comment_count>3</comment_count>
    <who name="Mary Fernandez">mff</who>
    <bug_when>2006-04-11 22:13:25 +0000</bug_when>
    <thetext>Already fixed in earlier draft</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>