[Zope-dev] Re: [zope-xml] XMLDocument beta release

Chimezie Thomas-Ogbuji cogbuji@fourthought.com
Tue, 16 May 2000 20:28:43 -0600


> 
> There doesn't seem to be any reason why it has to go there, tho - there's
> a number of existing "internal" Zope products that go in lib/python/Products.
> In particular OFS and Products/OFSP are already the dumping ground for all
> the unloved puppies in the Zope world :) so not putting stuff there is a
> Good Thing.
> 
> Making it something that installs into existing directories makes it
> much harder to install, and makes it much more vulnerable to being
> broken when Zope is upgraded.
> 

Yes good, point.  As a matter of fact the next release which I'll be
putting up in a few secs has ClobXMLDocument (now called XMLDocument)
and XSLTMethod as 'seperate' products to further simplify the
installation process. 

> 
> Okay. I ripped apart ClobXMLDocument and made it derive from DTMLDocument,
> rather than copy all of DTMLDocument's code. I also fixed the appropriate
> imports &c to make it work from a directory in Products. As an added advantage
> it now works with 2.2alpha as well (since the old code that was copied
> from DTMLDocument didn't work in 2.2)

Yes I reproduced alot of this in the upcoming release, however because
of the HIGH potential that XMLDocment and XSLT Method (because of their
hooks into 4Suite) eventually will evolve above and beyond DTML
Method/Document implentation I didn't inherit off DTMLMethod and
DTMLDocument, but left the cut and paste job for now.

> 
> XSLTMethod I've done something similar to - the only piece left to do
> is the __call__ method - it copies the one from DTMLMethod for now. To make
> it work under 2.1.6, you'll want to keep your existing __call__ method, but
> lose the rest.


Yeah I posted my issue with __call__ on the Wikki:

http://216.164.72.7:7780/Wiki/Members/jim/ZDOM/Issue%20with%20__call__%20and%20Aquisition

> 
> Good. I was wondering :) since the current one seems pretty limited in what
> it can do from Zope. I'm glad that it's going to be moving to a fuller
> featured thing.

oh yes, XMLDocument has a lot of evolving left.