There is a new version of generateDS.py -- version 2.12d. I apologize for the inconvenience of yet another version. But, the previous version had a bug: If one element definition extends another element definition and the name of that base element definition is modified (because it is a Python keyword or because it contains special characters), then generateDS.py went into an infinite loop while trying to generate the base class before the sub-class. Thanks to Jerome Allasia for finding and reporting this.
You can find the new version here: - Python Package Index -- http://pypi.python.org/pypi/generateDS/ - Source Forge -- http://sourceforge.net/projects/generateds/ For those of you who prefer using Mercurial, there is also a Mercurial repository at Bitbucket: https://bitbucket.org/dkuhlman/generateds Below are a few notes and details from the README: # ========================================================= Version 2.12d (04/02/2014) - Fix for an infinite loop caused by inconsistent use of mapped/clean names with list AlreadyGenerated. Thanks to Jerome Allasia for catching this and for suggesting a fix. - Added a unit test for the use of mapped/clean names, in particular when one xs:complexType is an xs:extension of another. - Changed several lists to sets for faster look-up, for example AlreadyGenerated, AlreadyGenerated_subclass, DelayedElements, etc. - Cleaned up the use of functions mapName() and cleanupName() to avoid duplicate transformations. # ========================================================= If you have comments, suggestions, or problems, please send them along. - Dave -- Dave Kuhlman http://www.davekuhlman.org ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users