On Fri, Mar 20, 2015 at 04:30:52PM +0100, Florencio Cano Gabarda wrote:
>    Hello Mr. Kuhlman,
> 
>    I’m trying to generate Python code from varios XSD (one that import
>    others) and I’m getting the error below from generateDS:
> 
>    RuntimeError: Extension/restriction recursion detected.  Suggest you
>    check definitions of types TAdressePostale and TAdressePostale.

Florencio,

Yes, that could be a bug in generateDS.py.  You mention XML schemas
that import other schemas.  That means it's likely that there are
multiple namespaces involved.  generateDS.py has problems with
multiple namespaces sometimes.  On the other hand, it could be an
issue with the specific schema that you are using.  It's possible
that the schema could be modified so that generateDS.py can handle
it.

Do you have a schema that produces this problem and that you can
pass along to me?  If so, send it to me (or send me a link to it),
and I'll take a look and do some testing.

Dave

> 
>    I have searched this error in the generateDS documentation in
>    [1]http://pythonhosted.org/generateDS/ but found nothing.
> 
>    I have just found an unanswered question in Stackexchange:
>    [2]http://stackoverflow.com/questions/13257384/how-to-correctly-use-gen
>    erateds-for-ddex-xml-binding
> 
>    Searching “recursion detected” in the mailing list archives returns
>    nothing.


-- 

Dave Kuhlman
http://www.davekuhlman.org

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to