> By the way, I made some more tests and discovered that I had simplified
> by test too much.
> It should be
> class Code(ClassModel):
>           designations = Array(String, max_occurs=10)
>           refs = Array(Integer)
>
> When there is no max_occurs paramter, the result is correct.
>

when you give the max_occurs=10 parameter to the array, you get an array that 
can occur up to ten times, hence an array of arrays, hence the output.

you probably want Array(String(max_occurs=10)) or just String(max_occurs=10) if 
you don't want your array wrapped.

hth
burak
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to