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 3765 - "|" token not listed as delimiting or non-delimiting
Summary: "|" token not listed as delimiting or non-delimiting
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on: 3606
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-25 00:06 UTC by Cameron McCormack
Modified: 2007-02-25 23:47 UTC (History)
0 users

See Also:


Attachments

Description Cameron McCormack 2006-09-25 00:06:40 UTC
The "|" token isn't listed as being a delimiting or non-delimiting terminal symbol.  My guess is that it should be delimiting.
Comment 1 Scott Boag 2006-10-11 03:23:49 UTC
The tokens in the list are generated programatically.  "|" was being missed as well as some keywords.  Fixing this actually took some time, exacerbated by some recursion limit problems in XSLT.  :-)

I believe the following are the correct lists.  Please check carefully.  I will check again tomorrow, as well as have a few WG members review.

Please note changes have also been made in relation to http://www.w3.org/Bugs/Public/show_bug.cgi?id=3606

XQuery:
[Definition: The delimiting terminal symbols are: S, "-", (comma), (semi-colon), (colon), "::", ":=", "!=", "?", "?>", "/", "//", "/>", (dot), "..", StringLiteral, "(", "(#", ")", "[", "]", "]]>", "{", "}", "@", "$", "*", "#)", "+", "<", "<!--", "<![CDATA[", "<?", "</", "<<", "<=", "=", ">", "-->", ">=", ">>", "|"] 
[Definition: The non-delimiting terminal symbols are: IntegerLiteral, NCName, QName, DecimalLiteral, DoubleLiteral, "ancestor", "ancestor-or-self", "and", "as", "ascending", "at", "attribute", "base-uri", "boundary-space", "by", "case", "cast", "castable", "child", "collation", "comment", "construction", "copy-namespaces", "declare", "default", "descendant", "descendant-or-self", "descending", "div", "document", "document-node", "element", "else", "empty", "empty-sequence", "encoding", "eq", "every", "except", "external", "following", "following-sibling", "for", "function", "ge", "greatest", "gt", "idiv", "if", "import", "in", "inherit", "instance", "intersect", "is", "item", "lax", "le", "least", "let", "lt", "mod", "module", "namespace", "ne", "node", "no-inherit", "no-preserve", "of", "option", "or", "order", "ordered", "ordering", "parent", "preceding", "preceding-sibling", "preserve", "processing-instruction", "return", "satisfies", "schema", "schema-attribute", "schema-element", "self", "some", "stable", "strict", "strip", "text", "then", "to", "treat", "typeswitch", "union", "unordered", "validate", "variable", "version", "where", "xquery"] 

XPath:
[Definition: The delimiting terminal symbols are: "-", (comma), (colon), "::", "!=", "?", "/", "//", (dot), "..", StringLiteral, "(", ")", "[", "]", "@", "$", "*", "+", "<", "<<", "<=", "=", ">", ">=", ">>", "|"] 
[Definition: The non-delimiting terminal symbols are: IntegerLiteral, NCName, QName, DecimalLiteral, DoubleLiteral, "ancestor", "ancestor-or-self", "and", "as", "attribute", "cast", "castable", "child", "comment", "descendant", "descendant-or-self", "div", "document-node", "element", "else", "empty-sequence", "eq", "every", "except", "external", "following", "following-sibling", "for", "ge", "gt", "idiv", "if", "in", "instance", "intersect", "is", "item", "le", "lt", "mod", "namespace", "ne", "node", "of", "or", "parent", "preceding", "preceding-sibling", "processing-instruction", "return", "satisfies", "schema-attribute", "schema-element", "self", "some", "text", "then", "to", "treat", "union"] 
Comment 2 Michael Kay 2006-10-11 11:10:00 UTC
>Fixing this actually took some time, exacerbated by some recursion limit problems in XSLT. 

There are no recursion limits in XSLT, only in the implementation you have chosen to use ;-)
Comment 3 Cameron McCormack 2006-10-11 11:13:16 UTC
Perhaps the recursion limit was just the creation of the document that describes the technology using the technology itself. :)
Comment 4 Jim Melton 2007-02-25 23:47:23 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.