There is a new version of generateDS.py etc -- version 2.2b. Here are a few notes and details from the README:
# ========================================================= Version 2.2b (11/10/2010) * Added generation of __all__ global variable containing a list of generated class names. This enables you to do a reasonably safe "from mymodule import *. It's sorted, so it also gives you something in the way of an alphabetical table of contents of the generated classes. Thanks to Jaime Cepas for this. * Added another fix so that the generated code for mixed content elements will not generate empty blank lines on export. Thanks again to Jaime for this fix. * Added patch to sort mixed content in their class containers. Jaime contributed this one too. Thanks again. * Added check for endless recursion while collection list of parent type element names. When detected, raises exception that identifies the elements. Thanks to Maximilian Holtzberg for finding this one. One case that can cause this problem is when an element type definition extends a type definition of the same name in a different namespace. Since generateDS.py ignores the namespace, this looks like a type that is extending itself. * Modified code generated to process token lists in order to prevent breakage processing some strings. * Updated the tutorial so that the examples use the new parsers (ElementTree or lxml). * The "Clear" buttons in generateds_gui.py is broken when run with GTK2. generateds_gui.py is still usable, but, if you need to erase the contents of a text field, you will have to do so manually until I can figure out a fix. # ========================================================= You can find it in the usual places: - Python Package Index -- http://pypi.python.org/pypi/generateDS/ - Source Forge -- http://sourceforge.net/projects/generateds/ - My Web site -- http://www.rexx.com/~dkuhlman/generateDS-2.2b.tar.gz If you comments, suggestions, or problems, please send them along. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users