This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2893 - void() is used instead of empty-sequence()
Summary: void() is used instead of empty-sequence()
Status: CLOSED WONTFIX
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery/XPath Tokenizer (show other bugs)
Version: Candidate Recommendation
Hardware: Other Linux
: P2 normal
Target Milestone: ---
Assignee: Scott Boag
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 13:05 UTC by Frans Englich
Modified: 2006-04-04 16:24 UTC (History)
0 users

See Also:


Attachments

Description Frans Englich 2006-02-18 13:05:00 UTC
The type "void()" is used which is obsolete, replaced by empty-sequence().  
Looks like the EBNF needs to be updated/re-generated. It's also in the 
ITEMTYPE state table. 
  
  
Frans
Comment 1 Scott Boag 2006-03-29 22:07:36 UTC
The document "Building a Tokenizer for XPath or XQuery" 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.
Comment 2 Frans Englich 2006-03-30 11:15:23 UTC
You should know that the link to that document is accessible only for W3C members. I'm ok with it, but if the intent is to provide information about the grammar for non-members, it doesn't.


Regards,
Frans
Comment 3 Scott Boag 2006-04-03 17:09:11 UTC
Oops, sorry, the link should have been http://www.w3.org/2004/08/applets/xpath-grammar.xml.