cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Random thoughts on object model
Date Tue, 26 Jun 2007 11:43:42 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Joerg Heinicke wrote:
> On 26.06.2007 01:41, Grzegorz Kossakowski wrote:
> 
>> I fear it will be much more difficult to convince you (and others) to
>> the idea of flat OM.
> 
> The current hierarchical model ({../1}) has always been a problem. So
> apart from the backwards compatibility issue it should not be so hard to
> convince us :)
> 
> As a general comment: I don't like the usage of numbers ({../1} again)
> in the expression language that much. They are not that ... expressive.
> They were probably influenced by grouping in regular expressions. But if
> there is another clever approach replacing them ...

It is up to a specific Matcher implementation how they enumerate the patterns they've matched.

WildcardMatcher is using numbers, others do have something differently. This could be seen
as with
the backrefs in Perl or Awk.

- --
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)

iD8DBQFGgPvtLNdJvZjjVZARAvfaAJ42lh2pwXYA0uhvNf1JttWpOPuhnACfXtTp
crWoTRe3oKcToG6+ylWJgLQ=
=uEB5
-----END PGP SIGNATURE-----

Mime
View raw message