<?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>1534</bug_id>
          
          <creation_ts>2005-07-10 03:20:11 +0000</creation_ts>
          <short_desc>[FS] editorial: 2.1.5 Putting it together</short_desc>
          <delta_ts>2005-09-29 14:30:31 +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>minor</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>4485</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-10 03:20:12 +0000</bug_when>
    <thetext>2.1.5 Putting it together

&quot;the expression below the line ... must have the static type ...&quot;
    As in [Bug 1532], change &quot;must have&quot; to &quot;has&quot;.

rule 3
    Italicize &apos;IntegerLiteral&apos;.

&quot;With this set of rules, we can compute the type of the expression above
in a bottom-up fashion&quot;
    No, you can&apos;t, not bottom-up. Bottom-up implies that all information
    flows up, but you can&apos;t compute the type of the variable references
    in &quot;($x,$x)&quot; without the static environment information flowing down.

&quot;The resulting type inference proceeds as follows.&quot;
    You should probably note that this uses a very ad hoc notation for
    (the values of) static environments.

&quot;This example illustrates how each rule is applied ...&quot;
    I don&apos;t think it illustrates it very well.
    -- The rules used at any stage are not identified.
    -- Only the &apos;has type&apos; (colon) judgments appear.
       No &apos;of var expands to&apos; judgments.
       No &apos;statEnv.varType() = &apos; judgments.
    -- The judgments that do appear are only in fully-instantiated forms,
       which makes it harder to relate them back to the judgments in the
       rules.
    -- The connections between rules, the way a premise of one rule
       relates to the conclusion of another rule, is not called out.
    -- Pattern-instantiation is very implicit.
    -- It ignores the intermediate ParenthesizedExpr.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>