There is a new version of generateDS.py -- version 2.27a. This release contains fixes and also a few new capabilities. In particular, notice the new utility scripts in the generateds/utils subdirectory. There is a README there and also some notes in the docs (generateDS.txt and generateDS.html).
See the notes below from the README for more details. By the way, I tried generateDS.py on the Raspberry Pi (under Raspbian GNU/Linux 8 (jessie)). It seems to work OK as far as I can tell. 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.27a (06/01/2017) - Fixed bug in gends_extract_simple_types.py that caused an exception when the simpleType name has a namespace prefix. Thanks to Rémy Gibault for reporting this. - Added two utilities that can be used to replace the capability invoked by the --one-file-per-xsd command line option. utils/collect_schema_locations.py can be used to collect and write out the top level schema locations. batch_generate.py can be used to (read the output from collect_schema_locations.py and generate modules. Use --help to obtain more information from each of these. For instructions on this, see the docs and also the README in the utils/ subdirectory. - Various fixes for the generation of namespace prefix definitions when the generated export functions are called. Thanks to Eugene Petkevich for reporting and working with me on this. - Added command line option --no-namespace-defs to force export functions to not added namespace prefix defintions. - Added ability for generated modules to import a module (generatedsnamespaces.py) containing a dictionary (GenerateDSNamespaceDefs) that maps element type names to the namespace prefix definitions (or any XML attributes, actually) that are to be added to specific elements during export. See the docs and also notes near where generatedsnamespaces.py is imported in a generated module. - Fixed an error in gends_run_gen_django.py which caused it to fail when generateDS.py produced a warning message. Thanks to Rémy Gibault for catching and reporting this. - Added a utility to help with analyzing complex schemas. utils/show_schema_hierarchy.py can by used to show an indented hierarchy of schemas that are pulled in by xs:include and xs:import elements. Type `utils/show_schema_hierarchy.py --help` for more info. Also see the docs. # ========================================================= -- 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