[Zope-dev] Bug in ExternalMethods?

2002-12-19 Thread Tim Hicks
I think I've found a bug in ExternalMethod, but I don't know if it's already been fixed or not. Basically, the call signature of ExternalMethods seems to get mixed up sometimes. I'm running Zope 2.5.1 on Linux. Here's a small demonstration of the bug: --test.py-- def test(self, a_string, an_int

Re: [Zope-dev] Allowing only specific meta_types to be addable to my product

2002-12-19 Thread Dieter Maurer
Stacy Roberts Ladnier writes: > I have created a Product made up of hundreds of classes. Each class has > restrictions that should only allow a certain few meta_types to be > added. Give your classes an "all_meta_types" method, similar to the following: def all_meta_types(self): return (

Re: [Zope-dev] Bug in ExternalMethods?

2002-12-19 Thread Dieter Maurer
Tim Hicks writes: > I think I've found a bug in ExternalMethod, but I don't know if it's > already been fixed or not. > > Basically, the call signature of ExternalMethods seems to get mixed up > sometimes. I'm running Zope 2.5.1 on Linux. > > Here's a small demonstration of the bug: >

[Zope-dev] Bug in ExternalMethods?

2002-12-19 Thread Clemens Robbenhaar
Hi Tim, > Here's a small demonstration of the bug: > > --test.py-- > def test(self, a_string, an_int, a_named_arg=1): > """bug provoking?""" > template = """a_string = %s; type(a_string) -> %s\n > an_int = %s; type(an_int) -> %s\n > a_named_arg = %s; type(a_named_arg) -> %s"""

[Zope-dev] Where can I find the Zope XML DTD ?

2002-12-19 Thread Antonio De Marinis
Hi, I'm not sure if this is the right forum, but I've search in other lists without any success. In Zope there is an XML-export as everybody knows. My question is: does anybody know if there is a DTD for the Zope produced XML and where I can find it? Why I ask for it? If I have a DTD I could