<?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>20481</bug_id>
          
          <creation_ts>2012-12-21 18:35:56 +0000</creation_ts>
          <short_desc>Grammar Fixes needed: Dominique&apos;s feedback + Microsoft&apos;s feedback</short_desc>
          <delta_ts>2013-08-08 19:09:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>[v1]</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Travis Leithead [MSFT]">travil</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80502</commentid>
    <comment_count>0</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-12-21 18:35:56 +0000</bug_when>
    <thetext>DOM Recently wrote to the public-script-coord list about the current WebIDL grammar having errors:

http://lists.w3.org/Archives/Public/public-script-coord/2012OctDec/0398.html

In addition, some developers on the IE team have raised similar complaints about errors in the grammar:

&quot;Other includes &quot;other&quot; which eats the ] &lt;-- So you can&apos;t break out of an attribute.

&quot;we [should] remove &quot;other&quot; as an option and fully specify those values we expect to see in Other. For instance, we already added things like &quot;-&quot; and &quot;.&quot;, so just continue adding as many as are necessary. Also, to simplify Other we should remove redundancy.  There are 6 basic tokens:

&quot;integer, float, identifier, string, whitespace, and other. If we remove other and whitespace is already eaten between any tokens implicitly, then the correct production is:

&quot;Other = float / integer / identifier / string / ... { list of other tokens we want to allow }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91596</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2013-08-04 06:26:30 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; DOM Recently wrote to the public-script-coord list about the current WebIDL
&gt; grammar having errors:
&gt; 
&gt; http://lists.w3.org/Archives/Public/public-script-coord/2012OctDec/0398.html

That&apos;s difficult for me to use to fix the grammar in the spec.  If specific errors in the grammar could be pointed out, that would be helpful.

&gt; In addition, some developers on the IE team have raised similar complaints
&gt; about errors in the grammar:
&gt; 
&gt; &quot;Other includes &quot;other&quot; which eats the ] &lt;-- So you can&apos;t break out of an
&gt; attribute.

The intention was to always match quoted terminal symbols rather than the named terminal symbols, not just for identifier.  I&apos;ve mentioned that now:

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.675;r2=1.676;f=h
http://dev.w3.org/cvsweb/2006/webapi/WebIDL/v1.xml.diff?r1=1.117;r2=1.118;f=h

&gt; &quot;we [should] remove &quot;other&quot; as an option and fully specify those values we
&gt; expect to see in Other. For instance, we already added things like &quot;-&quot; and
&gt; &quot;.&quot;, so just continue adding as many as are necessary. Also, to simplify
&gt; Other we should remove redundancy.  There are 6 basic tokens:

The &quot;other&quot; terminal symbol is meant to match any text that isn&apos;t one of the quoted terminals or float/integer/etc.  So I think it needs to match any character except for any character that could possibly match the other named terminals.

&gt; &quot;integer, float, identifier, string, whitespace, and other. If we remove
&gt; other and whitespace is already eaten between any tokens implicitly, then
&gt; the correct production is:
&gt; 
&gt; &quot;Other = float / integer / identifier / string / ... { list of other tokens
&gt; we want to allow }

I don&apos;t think we want to leave out &quot;other&quot; from Other.

Please reopen if I&apos;ve misunderstood.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91802</commentid>
    <comment_count>2</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2013-08-08 19:09:08 +0000</bug_when>
    <thetext>Works for me. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>