cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Re: [jira] Commented: (COCOON-2110) Evaluate expressions defined in cocooon-expression-language-api in Sitemap engine
Date Tue, 14 Aug 2007 09:30:19 GMT
Daniel Fagerstrom pisze:
> As I wrote about in 
> we already 
> (since maybe two years ago) has a migration path from the old to the new 
> syntax. 

As you see almost nobody has known that such migration path exists so, in a fact, there was
not any.
Lack of documentation is serious obstacle especially in such situations.

> As the string template readers in template is plugable. In that 
> implementation we actually use {} for the new syntax (following XSLT) as 
> people seemed to prefer that back then. This is of course not written in 
> stone, we could use ${} instead if that is what people prefer now. If we 
> use ${} we more or less have to have JEXL as default expression language 
> implementation, otherwise it will be highly confusing.

I wanted to use ${} to distinguish old sitemap expressions from new one. Since we somehow
agreed to 
use StringTemplateParser functionality the choice of expression handling will be done not
by using 
one or another syntax but by configuring parser. Having said that I think that use of $ sign
will be 
redundant. What do you think?

Grzegorz Kossakowski
*** My Internet Service Provider breaks my internet connection                ***
*** incessantly so I'll not be able to respond to e-mails                     ***
*** regularly and my work will be somehow irregular.                          ***
*** I'm already trying to switch ISP but it will take handful amount of time. ***

View raw message