[Bug 7907] New: [FT] full text options grammar ambiguous

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

           Summary: [FT] full text options grammar ambiguous
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: Probst_Martin@emc.com
         QAContact: public-qt-comments@w3.org


I think the ftMatchOptions part of XQuery Full Text grammar (XQFT) is non-LL:

typeswitch (x)
case xs:integer return bla ftcontains 'hello'
case insensitive case insensitive (...) return something
default ...

This is not entirely ambiguous, but potentially requires infinite lookahead to
decide whether to parse.

Another infinite lookahead required issue is the replace expression in
combination with XQFT:

replace value of bla ftcontains 'x' with stemming with stemming with stemming
...


-- 
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, 13 October 2009 08:34:42 UTC