<?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>1820</bug_id>
          
          <creation_ts>2005-07-28 02:11:01 +0000</creation_ts>
          <short_desc>[FS] technical: 4.1.5 Function Calls: dynEnvDefault</short_desc>
          <delta_ts>2005-09-27 08:30:12 +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>All</rep_platform>
          <op_sys>All</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="Michael Dyck">jmdyck</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>5260</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-28 02:11:01 +0000</bug_when>
    <thetext>4.1.5 Function Calls

DEv / rule (1|2)
&quot;dynEnvDefault + varValue( Variable1 =&gt; Value1&apos;; ...) |- Expr =&gt; Value&apos;&quot;
    This won&apos;t work, because dynEnvDefault doesn&apos;t have entries for the
    variables and functions defined in the Prolog. Instead of
    dynEnvDefault, you should have the dynEnv resulting from
        dynEnvDefault |- PrologDeclList =&gt;dyn dynEnv
    For library modules, this is &quot;stored&quot; in the =&gt;module_dynEnv relation,
    so rule 2 has an easy fix:
        s/dynEnvDefault/dynEnv1/
    However, rule 1 does not appear to have a similar easy fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5721</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-09-06 15:33:17 +0000</bug_when>
    <thetext>I agree. This is a big bug actually. I think the fix for library modules make
sense. I think we should have something that also records the context for the
prolog for the main module.

Maybe a notation of the form:

#MAIN =&gt;module_statEnv statEnv

would do the trick.

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6473</commentid>
    <comment_count>2</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-09-27 08:30:02 +0000</bug_when>
    <thetext>The XSLT and XML Query working groups have adopted the resolution sketched in
comment #1.
Best,
- Jerome</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>