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
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 (
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:
>
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"""
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