<?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>2978</bug_id>
          
          <creation_ts>2006-03-06 22:41:44 +0000</creation_ts>
          <short_desc>State XMLSPACE_DECL is obsolete</short_desc>
          <delta_ts>2006-04-04 16:23:27 +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>8601</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-03-06 22:41:44 +0000</bug_when>
    <thetext>State XMLSPACE_DECL says:

&lt;quote&gt;
This state occurs at places where the keywords &quot;preserve&quot; and &quot;strip&quot; is expected to support &quot;declare xmlspace&quot;. QNames can not occur in this state.
&lt;/quote&gt;

I guess it needs s/XMLSPACE_DECL/BOUNDARYSPACE_DECL/ and s/declare xmlspace/declare boundary-space/


Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8602</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-03-07 00:20:33 +0000</bug_when>
    <thetext>
After further thinking:

Instead of letting &lt;&quot;declare&quot; &quot;boundary-space&quot;&gt; transit to state XMLSPACE_DECL, enter state OPERATOR. State OPERATOR already handles &quot;strip&quot;/&quot;preserve&quot; for &apos;declare construction&apos;. This would render state XMLSPACE_DECL redundant.

One could also have a specialized state for &apos;declare boundary-space&apos; and &apos;declare construction&apos; which is identical to the current XMLSPACE_DECL although with a more generic name, but that wouldn&apos;t be consistent with how the other states are arranged.

Assuming I&apos;m not wrong, of course.


Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8959</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Boag">scott_boag</who>
    <bug_when>2006-03-29 22:08:01 +0000</bug_when>
    <thetext>The document &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>