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

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

From: Innovimax W3C <innovimax+w3c@gmail.com>
Date: Fri, 12 Nov 2010 15:56:01 +0100
Message-ID: <AANLkTikZ8i3rcFnTV80eSjuogBt=x-c_Bgwn2ZTc7tmH@mail.gmail.com>
To: vojtech.toman@emc.com
Cc: public-xml-processing-model-wg@w3.org
I would say escape first (because "apply XPath first" will always lead
to error }

so an odd number of curly would trigger XPath, an even number would
just output a bunch of curly

Mohamed

On Fri, Nov 12, 2010 at 3:51 PM,  <vojtech.toman@emc.com> wrote:
> Given the following string:
>
> {{{/foo}}}
>
> What should the result of applying p:document-template be?
>
> Is it: '{', /foo (XPath expression), '}'
> or is it one (and invalid) XPath expression: {{/foo}}
>
> In other words, what are the rules of processing escaped { characters?
> Should they be unescaped from the outside or from the inside?
>
>
> Vojtech
>
>
> --
> Vojtech Toman
> Consultant Software Engineer
> EMC | Information Intelligence Group
> vojtech.toman@emc.com
> http://developer.emc.com/xmltech
>
>
>
>



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Friday, 12 November 2010 14:56:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 12 November 2010 14:56:37 GMT