cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Zhang" <crack...@comcast.net>
Subject Re: Random thoughts on object model
Date Tue, 26 Jun 2007 19:53:27 GMT
Look at VTD-XML, it has a XML model that hierarchical
but not made of Objects at alll, so technically it is not object model :)
http://vtd-xml.sf.net
----- Original Message ----- 
From: "Giacomo Pati" <giacomo@apache.org>
To: <dev@cocoon.apache.org>
Sent: Tuesday, June 26, 2007 4:43 AM
Subject: Re: Random thoughts on object model


> -----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