cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira">
Subject Re: jxpath in XML comments
Date Fri, 04 Jul 2003 20:11:49 GMT
On 4 Jul 2003 at 11:53, Christopher Oliver wrote:

> Can you explain what you mean in more detail? As far as I can tell
> from your description, what you're trying to do should work.

Say I had this jxpath file:

<parameters xmlns:jx="">

And this SendPage:
sendPage("page.html", {"from": from, "to" : to, "status": status} );

Then you decide you don't need status, so it becomes:

sendPage("page.html", {"from": from, "to" :to} );

And you change your jxpath to:
<parameters xmlns:jx="">
<!--  <status>${status}</status>-->

You'll get an error, as it can't find $status. So it is still trying to do a replacement,
inside the XML comments. I'm wondering if this is the intentional behaviour.

Regards, Upayavira

View raw message