W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > November 2010

Re: Document template test 10

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 17 Nov 2010 11:47:59 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m21v6jnbgg.fsf@nwalsh.com>
"vojtech.toman@emc.com" <vojtech.toman@emc.com> writes:
>> If we say that "}" ends an expression when we're inside one, then the
>> first expression is valid and the second is not. If we say that "}}"
>> is matched even when we're inside an expression then the first
>> expression is invalid and the second is valid.
>
> At the moment, my implementation does the former (as you could have
> guessed from the test :-) I think that is consistent with what XQuery
> does. And I also believe that XQuery goes further than us in the sense
> that it does not apply any processing to { and } that are in quoted
> strings literals. So you can do things like:
>
> <doc>{'}'}</doc>
>
> with no problems.

That was the "more complex parsing" to which I referred.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
www.marklogic.com

Received on Wednesday, 17 November 2010 16:48:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 November 2010 16:48:36 GMT