cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: XObject
Date Fri, 01 Dec 2000 23:07:36 GMT
Sylvain Wallez <sylvain.wallez@anyware-tech.com> wrote:
>Paul Russell wrote:
> > Yeah, ditto. How about this - we leave replace the existing
> > XObject class in Cocoon1 with a proxy pointing to the new
> > implementation, and whenever a method is called in the proxy,
> > we print a message to the log/stderr (does C1 have logging?).
> > Hopefully, that would remind/persuade people to move over to
> > the new class ASAP.
> >
> > Thoughts?
> >
> >
> > P.
> >
>
>Nice idea, but XObject is an interface. To change it to a proxy, you
>have to make it a class, thus inevitably breaking existing code. To
>avoid that while preparing the C1->C2 transition, I think it's better to
>have a new clean SAX2 compliant XObject (X2Object ?) and deprecate the
>old one. This will warn current C1 users that they should migrate to
>X2Object to be compatible with C2 while allowing them to keep their
>current code unchanged if they want to stay with C1.

+1.

>
>Also, the C2 <xsp:expr> tag does just a String.valueOf() of it's
>content, whereas C1 has full set of overloaded methods to handle many
>differing data types, including XObject. Why was it abandoned in C2 ?

Mistake/oversight I expect.



_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


Mime
View raw message