<?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>1588</bug_id>
          
          <creation_ts>2005-07-14 06:01:23 +0000</creation_ts>
          <short_desc>[FS] editorial: 4.2.1 Steps</short_desc>
          <delta_ts>2007-02-25 23:14:09 +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>4562</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-14 06:01:23 +0000</bug_when>
    <thetext>4.2.1 Steps

Introduction
[81 (XQuery)] PredicateList ::= Predicate*
    The Normalization rules assume a left-recursive definition, such as:
        ... ::= | PredicateList Predicate

Norm / rule (1|2|3|4|5|6)
&quot;[&quot; Expr &quot;]&quot;
    Delete quotes around square brackets.

Norm / rule (1|3)
&quot;[&quot; Numeric &quot;]&quot;
    Change &quot;Numeric&quot; to &quot;NumericLiteral&quot;.

Norm / rule (3|4)
&quot;return then&quot;
    Delete &quot;then&quot;.

Norm / rule (3|6)
$fs:last - Numeric + 1
$fs:last - $fs:new + 1
    Plus and minus operators are not in the Core language. Change to:
       fs:plus( 1, fs:minus( $fs:last, NumericLiteral ) )
       fs:plus( 1, fs:minus( $fs:last, $fs:new ) )

Norm / rule (5|6)
&quot;if [[ Expr ]]_Predicates then&quot;
    Put IfExpr&apos;s condition in parentheses.

STA
&quot;Axis&quot;
    There&apos;s no definition for the symbol &apos;Axis&apos;.

DEv / rule 1 / premise 2
&quot;Value1 matches node&quot;
    &apos;node&apos; is not a valid (Formal) Type.
    In STA / rule 1, you changed &apos;node&apos; to
        [[ node() ]]_sequencetype
    so you probably need to do that here too.
(leftover from last year, comment #058)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9147</commentid>
    <comment_count>1</comment_count>
    <who name="Mary Fernandez">mff</who>
    <bug_when>2006-04-11 19:20:11 +0000</bug_when>
    <thetext>Incorporated all suggested changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11361</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-09-02 19:40:19 +0000</bug_when>
    <thetext>Most of the suggestions have not been incorporated into the 2006-06 CR.

By the way, for the last one, you might also consider changing &apos;node&apos; to &apos;&lt;em&gt;NodeType&lt;/em&gt;&apos; (and presumably in STA / rule 1 similarly). It doesn&apos;t mean the same thing as &apos;[[ node() ]]_sequencetype&apos;, but I&apos;m not sure if that makes a difference here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13589</commentid>
    <comment_count>3</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2007-01-16 17:53:47 +0000</bug_when>
    <thetext>
 * Didn&apos;t change the grammar, fixed for the language.
 * Added parenthesis for conditional expression in normalization rules 5|6.
 * Replaced usage of &apos;$fs:last - XXX + 1&apos; in normalization rules as
   suggested.
 * Added missing parenthesis in conditions.
 * Added definition for the axis non-terminal.
 * Replaced node by [ node() ]_sequencetype in dynamic evaluation rule 1.

- Jerome

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>