There is a new version of generateDS.py etc -- version 1.20b. A few high-lights:
- generateDS.py can now use the same session files used and produced by generateds_gui.py. So you can supply all options and arguments to generateDS.py with something like the following: $ generateDS.py --session=myjob.session If you can't run generateds_gui.py (it requires PyGTK), you can copy and edit gui/sample.session from the distribution. - Can now generate bindings for the Genomic Contextual Data Markup Language. Thanks to Erica Tolbert for help on this. - Generation of the exportLiteral methods has been brought up-to-date. I believe the exportLiteral is now usable again. See the parseLiteral() function at the bottom of a generated file. - I've tested generateDS.py on several large schema's (see list in README, below). I do not have XML instance docs, so my only "test" is to determine whether I can generate bindings and whether I can import the resulting bindings module in Python. Let me know if you have comments, problems, or suggestions. It's available in the usual places: - http://sourceforge.net/projects/generateds/ - http://pypi.python.org/pypi/generateDS/ - http://www.rexx.com/~dkuhlman/generateDS-1.20b.tar.gz - Dave Here are a few notes and details from the README: # ========================================================= Version 1.20b (12/14/2009) * Fix to process_includes.py so that it handles relative paths in include/import elements in the schema. * Various fixes and additions to the GUI front-end, e.g. added "Clear" buttons to erase some fields. * Fixed bug -- self.inRestrictionType was not initialized. * Added --session command line option to generateDS.py -- It can now use session files generated by the GUI front-end. * Fixes to the generation of the exportLiteral methods. We can now export Python literal representation of an instance doc that can be read/imported by Python. * Added unit test for generation of Python literal representation. * With the help of Erica Tolbert, generateDS.py can now generate bindings for gcdml (Genomic Contextual Data Markup Language. See http://gensc.org). Thank you, Erica. * generateDS.py can now generate bindings for the following (rather large) schemas: - gcdml -- Genomic Contextual Data Markup Language -- See http://gensc.org - Collada -- 3D Asset Exchange Schema -- See http://www.khronos.org/collada/ - Vcloud --Cloud computing -- See http://www.vmware.com/solutions/cloud-computing/vcloud.html - FpML -- Financial products Markup Language -- See http://www.fpml.org/ # ========================================================= -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users