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

Chimezie Thomas-Ogbuji cogbuji@fourthought.com
Tue, 16 May 2000 10:59:48 -0600


> note that the path instead appears to be /pub/4Zope/XMLDocument/...

I've changed this in the INSTALL.txt in pub/4Zope/XMLDocument, thanks.

> 
> Hm.  This installs stuff in lib/python/OFS and lib/python/Products/OFSP,
> rather than in a seperate Product - why is that?

Initially ClobXmlDocument started off as a seperate Product, however
because of the various changes to internal Zope code, an incomplete
grasp of the Product API, and the fact that XMLDocument is intended to
be merged into Zope eventually, it was decided that it would be coded as
internal products.

> 
> A small amount of butchery, and I've got something that
> a) goes into lib/python/Products/FTXMLDocument
> b) works under the current CVS.
> 


> I've fixed a lot of XSLTMethod, but not all of ClobXMLDocument (yet).
> In case someone else wants to work on it (I'm not sure how much time
> I'll have tonight), the work so far is at:
> (warningwarning: lightly lightly tested.)
> http://www.zope.org/Members/anthony/patches/ftxml-beta-cvs-anthony0.tgz

I haven't gone over the code changes, and it may be messy to determine
them, but could you outline the changes you made? It would make it
easier for integration into the next release

> 
> A couple of questions about the ClobXMLDocument - it appears to just
> be a DTMLDocument, with an internal attribute that's the parsed XML as a
> DOM structure. This parsed DOM isn't exposed to Zope at all, at least as
> far as the normal ZDOM stuff goes (it looks like XSLTMethod knows how to
> find it, but that's about it) - would it be an idea to expose this?
> Would the ZDOM stuff you guys did allow Zope to traverse through this
> sort of DOM?
> 

The final intent is for ClobXMLDocument to evolve to a fully
heirarchical zope/dom tree (upon initial parse) and not just to contain
the parsed XML as text -- much like the current XMLDocument.  The
feature set for the beta was for ClobXMLDocument to be a 'wrapper' -- a
parsed object entity, if you will -- of XML content.  Eventually,
ClobXMLDocument (or XMLDocument as it will be called) itself will be a
top level DOM node of the XML content.

> More questions later, no doubt.
> 
> thanks,
> Anthony
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )

-- 
Chimezie Thomas-Ogbuji
Junior Consultant
Fourthought Inc.
(303) 583 9900 ext 104
cogbuji@fourthought.com