<?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>1375</bug_id>
          
          <creation_ts>2005-05-11 07:29:49 +0000</creation_ts>
          <short_desc>[XQuery] some editorial comments on A.1.1 Grammar Notes (general)</short_desc>
          <delta_ts>2005-09-29 10:59:39 +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>XQuery 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>grammar</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="Scott Boag">scott_boag</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>3400</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-05-11 07:29:49 +0000</bug_when>
    <thetext>A.1.1 Grammar Notes (general)

&quot;Note&quot;
    A.1 EBNF says that production comments are normative, but 1 Introduction
    says that material labeled as &quot;Note&quot; is not normative.

&quot;This section contains general notes on the EBNF productions, which may be
helpful in understanding how to create a parser based on this EBNF, how to read
the EBNF, and generally call out issues with the syntax.&quot;
    If that were all, then they wouldn&apos;t have to be normative. But in fact, some
    of them do affect the language being defined. (And so those probably
    shouldn&apos;t be called notes.)

    I think &apos;parens&apos;, &apos;lt&apos;, and &apos;comments&apos; are the only true &quot;notes&quot; (i.e. mere
    &quot;helpful hints&quot;).

    Which ones help in understanding how to read the EBNF? That&apos;s the job of the
    previous section.

(examples)
    From A.1.1 to A.2.3, could the examples be put in
        &lt;div class=&quot;exampleInner&quot;&gt;
    The &lt;code&gt; font is &apos;monospace&apos;, and the &lt;body&gt; font is &apos;sans-serif&apos;, which
    aren&apos;t that easy to distinguish when run together inline.

(leading-lone-slash, reserved-function-names, and occurrence-indicators)
    These notes are actually fairly similar, but this is obscured by the
    different ways they&apos;re written. You might be able to increase understanding
    by handling them more uniformly.
    [See a later comment for suggested alternate wording for these notes.]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4423</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-07-07 00:52:03 +0000</bug_when>
    <thetext>(Speaking for myself) I think the point about the word &quot;note&quot;
is well taken.  Perhaps we should replace the term &quot;grammar-note&quot;
with &quot;extra-grammatical constraint&quot;, abbreviated EGC or something
in the comments in the grammar, for the items that affect the
language recognized.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4450</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Boag">scott_boag</who>
    <bug_when>2005-07-09 03:07:57 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; (Speaking for myself) I think the point about the word &quot;note&quot;
&gt; is well taken.  Perhaps we should replace the term &quot;grammar-note&quot;
&gt; with &quot;extra-grammatical constraint&quot;, abbreviated EGC or something
&gt; in the comments in the grammar, for the items that affect the
&gt; language recognized.

I&apos;ve used the xgc: and  &quot;extra-grammatical constraint&quot; for leading-lone-slash,
xml-version, reserved-function-names, and occurrence-indicators.  The others
remain gc: or ws:.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4451</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Boag">scott_boag</who>
    <bug_when>2005-07-09 03:25:55 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; A.1.1 Grammar Notes (general)
&gt; 
&gt; &quot;Note&quot;
&gt;     A.1 EBNF says that production comments are normative, but 1 Introduction
&gt;     says that material labeled as &quot;Note&quot; is not normative.

I think that was talking about a formal Note, but in any case, as noted in my
previous comment, I&apos;ve added the additional &quot;extra-grammatical constraint&quot; and
made specific that gn: notes are not normative, and enclosed the grammar-notes
proper in a Notes section (part of the W3C xml-spec).

&gt; (examples)
&gt;     From A.1.1 to A.2.3, could the examples be put in
&gt;         &lt;div class=&quot;exampleInner&quot;&gt;
&gt;     The &lt;code&gt; font is &apos;monospace&apos;, and the &lt;body&gt; font is &apos;sans-serif&apos;, which
&gt;     aren&apos;t that easy to distinguish when run together inline.

I can&apos;t just edit the HTML, since this is going through xml-spec.  I played with
some options, but it&apos;s just not worth it to spend a lot of time on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5166</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Boag">scott_boag</who>
    <bug_when>2005-07-22 19:34:58 +0000</bug_when>
    <thetext>A joint meeting of the Query and XSLT working groups considered this comment on 
July 20, 2005.  

The WGs agreed to resolve these editorial issues as listed in my previous comment.

If you do not agree with this resolution, please add a comment explaining why.
If you wish to appeal the WG&apos;s decision to the Director, then change the Status
of the record to Reopened. If we do not hear from you in the next two weeks, we
will assume you agree with the WG decision.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>