[sc34wg3] TMQL: Restrict tm-content and xml-content to return clause

Lars Heuer heuer at semagia.com
Wed Dec 3 10:59:38 EST 2008

Hi all,

I like to suggest that TMQL should restrict the usage of XML to the
return clause of a FLWR expression. I already suggested it one year
ago but I am unsure about the state:

Further, I suggest to restrict "tm-content" also to the return clause
otherwise we have to accept something like

    for $p in """donald isa duck
                 - "Donald"
    return $p

Is this really necessary?

I propose to remove "tm-content" and "xml-content" from the "content"
production and change the "return clause" (part of [52]
flwr-expression) as follows:

         return-clause ::= 'return' (content
                                     | tm-content
                                     | xml-content)


Best regards,

More information about the sc34wg3 mailing list