[Bug 6218] New: [UPD] small problem in the update grammar applet

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6218

           Summary: [UPD] small problem in the update grammar applet
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


The update grammar applet
(http://www.w3.org/2007/01/applets/xquery-updateApplet.html) parses queries
like:

$x

It also parses:

$for

It does not, however, parse:

$updating

The error message generated is:

Encountered "$ updating" at line 1, column 1.
Was expecting one of:
    "xquery" ...
    "version" ...
    "encoding" ...
    "module" ...
    "namespace" ...
    "declare" ...
    "boundary-space" ...
    "preserve" ...
    "strip" ...
    "default" ...
    "element" ...
    "function" ...
    "option" ...
    "ordering" ...
    "ordered" ...
    "unordered" ...
    "order" ...
    "empty" ...
    "copy-namespaces" ...
    "no-preserve" ...
    "inherit" ...
    "no-inherit" ...
    "collation" ...
    "base-uri" ...
    "import" ...
    "schema" ...
    "at" ...
    "variable" ...
    "construction" ...
    "as" ...
    "return" ...
    "for" ...
    "in" ...
    "let" ...
    "where" ...
    "by" ...
    "stable" ...
    "some" ...
    "every" ...
    "satisfies" ...
    "typeswitch" ...
    "case" ...
    "if" ...
    "then" ...
    "else" ...
    "or" ...
    "and" ...
    "to" ...
    "*" ...
    "div" ...
    "idiv" ...
    "mod" ...
    "union" ...
    "intersect" ...
    "except" ...
    "instance" ...
    "of" ...
    "treat" ...
    "castable" ...
    "cast" ...
    "eq" ...
    "ne" ...
    "lt" ...
    "le" ...
    "gt" ...
    "ge" ...
    "is" ...
    "validate" ...
    "lax" ...
    "strict" ...
    "child" ...
    "descendant" ...
    "attribute" ...
    "self" ...
    "descendant-or-self" ...
    "following-sibling" ...
    "following" ...
    "@" ...
    "parent" ...
    "ancestor" ...
    "preceding-sibling" ...
    "preceding" ...
    "ancestor-or-self" ...
    ".." ...
    "document" ...
    "text" ...
    "comment" ...
    "processing-instruction" ...
    "empty-sequence" ...
    "item" ...
    "node" ...
    "document-node" ...
    "schema-attribute" ...
    "schema-element" ...
    "first" ...
    "last" ...
    "into" ...
    "after" ...
    "before" ...
    "insert" ...
    "nodes" ...
    "delete" ...
    "replace" ...
    "value" ...
    "rename" ...
    "copy" ...
    "modify" ...
    "update" ...
    "transform" ...
    "do" ...
    "type" ...
    "-" ...
    "+" ...
    "external" ...
    "ascending" ...
    "descending" ...
    "greatest" ...
    "least" ...
    <QNameToken> ...
    <NCNameColonStar> ...
    <StarColonNCName> ...
    <IntegerLiteral> ...
    <DecimalLiteral> ...
    <DoubleLiteral> ...
    <StringLiteral> ...
    "$" <QNameToken> ...
    "$" "external" ...
    "$" "xquery" ...
    "$" "version" ...
    "$" "encoding" ...
    "$" "module" ...
    "$" "namespace" ...
    "$" "declare" ...
    "$" "boundary-space" ...
    "$" "preserve" ...
    "$" "strip" ...
    "$" "default" ...
    "$" "function" ...
    "$" "option" ...
    "$" "ordering" ...
    "$" "ordered" ...
    "$" "unordered" ...
    "$" "order" ...
    "$" "empty" ...
    "$" "greatest" ...
    "$" "least" ...
    "$" "copy-namespaces" ...
    "$" "no-preserve" ...
    "$" "inherit" ...
    "$" "no-inherit" ...
    "$" "collation" ...
    "$" "base-uri" ...
    "$" "import" ...
    "$" "schema" ...
    "$" "at" ...
    "$" "variable" ...
    "$" "construction" ...
    "$" "update" ...
    "$" "as" ...
    "$" "lax" ...
    "$" "strict" ...
    "$" "return" ...
    "$" "transform" ...
    "$" "do" ...
    "$" "for" ...
    "$" "in" ...
    "$" "let" ...
    "$" "where" ...
    "$" "by" ...
    "$" "stable" ...
    "$" "ascending" ...
    "$" "descending" ...
    "$" "some" ...
    "$" "every" ...
    "$" "satisfies" ...
    "$" "case" ...
    "$" "then" ...
    "$" "else" ...
    "$" "or" ...
    "$" "and" ...
    "$" "to" ...
    "$" "div" ...
    "$" "idiv" ...
    "$" "mod" ...
    "$" "union" ...
    "$" "intersect" ...
    "$" "except" ...
    "$" "instance" ...
    "$" "of" ...
    "$" "treat" ...
    "$" "castable" ...
    "$" "cast" ...
    "$" "eq" ...
    "$" "ne" ...
    "$" "lt" ...
    "$" "le" ...
    "$" "gt" ...
    "$" "ge" ...
    "$" "is" ...
    "$" "validate" ...
    "$" "child" ...
    "$" "descendant" ...
    "$" "self" ...
    "$" "descendant-or-self" ...
    "$" "following-sibling" ...
    "$" "following" ...
    "$" "parent" ...
    "$" "ancestor" ...
    "$" "preceding-sibling" ...
    "$" "preceding" ...
    "$" "ancestor-or-self" ...
    "$" "document" ...
    "$" "insert" ...
    "$" "first" ...
    "$" "last" ...
    "$" "into" ...
    "$" "after" ...
    "$" "before" ...
    "$" "delete" ...
    "$" "replace" ...
    "$" "value" ...
    "$" "rename" ...
    "$" "copy" ...
    "$" "modify" ...
    "$" "nodes" ...
    "$" "type" ...
    "$" "attribute" ...
    "$" "comment" ...
    "$" "document-node" ...
    "$" "element" ...
    "$" "if" ...
    "$" "item" ...
    "$" "node" ...
    "$" "processing-instruction" ...
    "$" "schema-attribute" ...
    "$" "schema-element" ...
    "$" "text" ...
    "$" "typeswitch" ...
    "$" "empty-sequence" ...
    "(" ...
    "." ...
    "<" ...
    "<" ...
    "<!--" ...
    "<!--" ...
    "<?" ...
    "<?" ...


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 11 November 2008 22:36:06 UTC