There is a new version of generateDS.py -- version 2.28a. This release contains significant enhancements implemented by Alim Gokkaya. Thanks much to Alim.
See the notes below from the README for more details. You can find it here: - Python Package Index -- http://pypi.python.org/pypi/generateDS/ - Source Forge -- http://sourceforge.net/projects/generateds/ - Bitbucket -- For those of you who prefer using Mercurial, there is also a Mercurial repository at Bitbucket: https://bitbucket.org/dkuhlman/generateds If you have comments, suggestions, or problems, please send them along. The email list is here: https://lists.sourceforge.net/lists/listinfo/generateds-users Dave # ========================================================= Version 2.28a (06/23/2017) Significant work by Alim Gokkaya. Thank you, Alim. Here's a summary of what's been changed: - Added new command-line options: - ``--disable-xml``: Toggles the generation of XML serialization related code - ``--disable-generatedssuper-lookup``: Disables generation of the try-except lookup for a `generatedssuper` module - ``--use-source-file-as-module-name``: Sets the source XSD file name as the target module name in the one file per XSD mode - Retained ``xsd:choice`` related information in the generated class ``MemberSpec``. - Retained the original XML schema attribute definitions in the generated class members. - Fixed generation of ``import`` statements for the base classes. - Fixed class not being generated when parent class is defined in another XML schema file. - Fixed fqn-module mapping being unavailable for the classes defined in imported XML schema files. - Fixed attribute names are sometimes not cleaned-up from the prefix - Fixed ``xsd:simpleType`` validations methods are not being generated in ``one-file-per-xsd`` mode. - Fixed equality check against objects defining extra attributes. - Added unit test for command line options ``--disable-xml`` and ``--disable-generatedssuper-lookup``. # ========================================================= -- Dave Kuhlman http://www.davekuhlman.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users