Re: Document template test 10

"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 UTC