Hi Is there developement underway for XMLDocument? I looked at the cvs and couldn't find it there. Is 1.0a2 the latest version? If not, where can I find it? Thanks, Gabor Melis
Is anyone using the CatalogAware mixin from CatalogAwareness.py ? I am just in the process of adding catalog awareness to my project and have found a couple of problems with it. (Note that this file has not changed since the 14th of September as of the 2.1.0 beta 2 release.) Firstly, you need to import aq_base from somewhere if (as in my case) you are using python classes that are not ZClasses. from OFS.PropertySheets import aq_base Secondly the reindex_all function has a problem. Here is the original function : def reindex_all(self, obj=None): """ """ if obj is None: obj=self if hasattr(aq_base(obj), 'index_object'): obj.index_object() if hasattr(aq_base(obj), 'objectValues'): sub=obj.objectValues() for item in obj.objectValues(): reindex_all(self, item) return 'done!' Note the call to reindex_all( self, item ), which fails in my environment. Here is my replacement (which also uses the sub variable which was initialised but not used in the original) : def reindex_all(self, obj=None): """ """ if obj is None: obj=self if hasattr(aq_base(obj), 'index_object'): obj.index_object() if hasattr(aq_base(obj), 'objectValues'): sub=obj.objectValues() for item in sub: self.reindex_all(item) return 'done!' Should this function be renamed to index_all, as it only indexes the object, not reindexes it ? I will post this to the collector if there are no other changes or objections. Robert Leftwich
On Tue, 16 Nov 1999, Melis G�bor wrote:
Hi
Is there developement underway for XMLDocument? I looked at the cvs and couldn't find it there. Is 1.0a2 the latest version? If not, where can I find it?
It is under development somewhere but am not sure where. The 1.0a2 release is the latest but needs a patched Node.py to be applied. You can get this file from either XML Widgets or VisualZope (development release) Cheers, Anthony Pfrunder
Anthony Pfrunder wrote:
On Tue, 16 Nov 1999, Melis Gábor wrote:
Hi
Is there developement underway for XMLDocument? I looked at the cvs and couldn't find it there. Is 1.0a2 the latest version? If not, where can I find it?
It is under development somewhere but am not sure where. The 1.0a2 release is the latest but needs a patched Node.py to be applied. You can get this file from either XML Widgets or VisualZope (development release)
It's in CVS at..argh..the cvs-web interface is not working and I always checked it out through that..Handy interface. So I don't know where it is in CVS right now, but it's in there. I'll mail Digicool to ask about the cvs-web (I hadn't used it for a while but it's very useful). Regards, Martijn
At 11:11 17/11/99 , Martijn Faassen wrote:
Anthony Pfrunder wrote:
On Tue, 16 Nov 1999, Melis Gábor wrote:
Hi
Is there developement underway for XMLDocument? I looked at the cvs and couldn't find it there. Is 1.0a2 the latest version? If not, where can I find it?
It is under development somewhere but am not sure where. The 1.0a2 release is the latest but needs a patched Node.py to be applied. You can get this file from either XML Widgets or VisualZope (development release)
It's in CVS at..argh..the cvs-web interface is not working and I always checked it out through that..Handy interface. So I don't know where it is in CVS right now, but it's in there. I'll mail Digicool to ask about the cvs-web (I hadn't used it for a while but it's very useful).
I pointed out it's usefulness to Ken Manheimer, he's promised to bring it back up when he has time (which is practically never right now..=)). XML Document can be checked out from Products/DC/XMLDocument. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (5)
-
Anthony Pfrunder -
Martijn Faassen -
Martijn Pieters -
Melis G�bor -
Robert Leftwich