[sc34wg3] TMQL: Grammar broken

Lars Heuer heuer at semagia.com
Wed Dec 3 08:31:47 EST 2008


Hi all,

The TMQL grammar is incomplete and does not work.

I.e. the filter-postfix is declared as:

        filter-postfix  ::=  '[' boolean-primitive ']'

Expressions like this example from the TMQL draft

        // person [. / age > 18 ]
        
are invalid according to the grammar.

I like to suggest one more time that the infix and prefix operators
like <, <=, > , >= should be part of the grammar. Being proud that
TMQL has less productions than CTM does not help either.

The incomplete filter-postfix production wasn't introduced in the
current draft but it seems that it has never worked, at least I cannot
find a draft where it has been worked.
        

Best regards,
Lars
-- 
Semagia 
<http://www.semagia.com>



More information about the sc34wg3 mailing list