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

Re: p:document-template - escaped '{' processing

From: Norman Walsh <ndw@nwalsh.com>
Date: Sat, 13 Nov 2010 16:19:23 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2oc9syl9g.fsf@nwalsh.com>
"vojtech.toman@emc.com" <vojtech.toman@emc.com> writes:

> Given the following string:
>
> {{{/foo}}}
>
> What should the result of applying p:document-template be?

The same as ('{', /foo, '}')

> In other words, what are the rules of processing escaped { characters?
> Should they be unescaped from the outside or from the inside?

Two consecutive curly braces produce a single, literal curly brace. I
think they have to be escaped from the "outside in".

                                        Be seeing you,
                                          norm

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

Received on Saturday, 13 November 2010 21:19:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 13 November 2010 21:19:59 GMT