<?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>2892</bug_id>
          
          <creation_ts>2006-02-18 13:01:41 +0000</creation_ts>
          <short_desc>QName listed twice in state ITEMTYPE</short_desc>
          <delta_ts>2006-04-04 16:22:55 +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/XPath Tokenizer</component>
          <version>Candidate Recommendation</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Frans Englich">frans.englich</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>8317</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-02-18 13:01:42 +0000</bug_when>
    <thetext>Hi,    
    
 I&apos;m definitely no scanner expert so I can very well be wrong. Nevertheless:   
   
In the table for the ITEMTYPE state, QName is listed twice. Once in the second   
row after void(), and once on the sixth row next to item(). In the former case   
the action is a transition to OPERATOR while the latter is 
OCCURRENCEINDICATOR. I think the first occurrence of the QName should be 
removed, since the latter is sufficient and it would also avoid ambiguity. 
Perhaps the first QName was at somepoint added to handle when no occurrence 
indicator is specified(cardinality exactly-one), but the OCCURRENCEINDICATOR 
state handles that, from what I can tell. 
   
(Will file separately on void()/empty-sequence())   
   
 
Regards,   
Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8952</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Boag">scott_boag</who>
    <bug_when>2006-03-29 22:06:14 +0000</bug_when>
    <thetext>The &quot;Building a Tokenizer for XPath or XQuery&quot; is obsolete.  If you do want to know what states we use to build our current test parser, the states are specified in the XML definition of the joint grammar, http://www.w3.org/XML/Group/xsl-query-specs/grammar/parser/applets/xpath-grammar.xml.
Note that the current test parser uses selective LL(2) or LL(3) lookahead, and the 
number of tokenizer states has been greatly decreased.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>