- From: Norman Walsh <ndw@nwalsh.com>
- Date: Thu, 18 Nov 2010 11:03:41 -0500
- To: public-xml-processing-model-wg@w3.org
Received on Thursday, 18 November 2010 16:04:17 UTC
Innovimax W3C <innovimax+w3c@gmail.com> writes:
> Normal mode
> 1) IF you parse {{ then output {
> 2) IF you parse }} then output }
> 3) IF you parse { then switch to 'xpath mode'
> 4) IF you parse } then it's an error
> 5) IF you parse anything else output it as is
>
> Xpath mode
> 1) IF you parse {{ then output {
> 2) IF you parse }} then output }
> 4) IF you parse { then it's an error
> 3) IF you parse } then switch to 'normal mode' and evaluate the string
> in the buffer as the xpath expression
> 5) IF you parse anything else output it as is
I must be slow. I'm not seeing how that's different than option 2.
>> The heart of test 10 is this expression:
>>
>> {{{/doc/p}}}
Which is an error per the rules above.
>> The problem I have is this case:
>>
>> { concat('{{', $foo, '}}') }
And that's ok.
Be seeing you,
norm
--
Norman Walsh
Lead Engineer
MarkLogic Corporation
www.marklogic.com
Received on Thursday, 18 November 2010 16:04:17 UTC