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

Re: p:document-template - nested expressions

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 12 Nov 2010 06:52:35 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2eiaqahdo.fsf@nwalsh.com>
"vojtech.toman@emc.com" <vojtech.toman@emc.com> writes:
> Just for clarification:
> Is the following allowed or is it an error?
> <foo>{/{$eltname} }></foo>
> In other words, are nested expressions supported? The curly braces are
> clearly balanced, so the current definition of err:XD0067 (or
> err:XC0067, whatever) does not seem to apply.

Interesting. We didn't discuss that and it didn't occur to me. I'm
inclined to say it shouldn't be allowed, but it would clearly provide
a handy sort of "evaluate" functionality.

We'd have to deal with weird ness like

  { /{//para} }

but I think we could say that we use the string value of nested

I dunno. What do others think?

                                        Be seeing you,

Norman Walsh
Lead Engineer
MarkLogic Corporation

Received on Friday, 12 November 2010 11:53:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:49 UTC