W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2009

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 13 Oct 2009 08:34:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-7907-523@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:41 UTC