There is a new version of generateDS.py -- version 2.12a.

Here are a few notes and details from the README:

# =========================================================

Version 2.12a (10/29/2013)
- A name conflict issue caused by naming anonymous types.  An
   anonymous type is a complexType that does not have a name
   attribute and that is nested inside an element that does not have
   a type attribute.  Strengthened the code that generates new,
   unique names.  And, also fixed a problem or two in the surrounding
   code.  Thanks to Shahaf Abileah for reporting this and for
   providing test files to reproduce the problem behavior.
- Created unit test for anonymous types.
- Added command line option --fix-type-names.  This may be useful if
   there are name conflicts in your XML schema, for example, because
   the schema refers to two types with the same name but in different
   namespaces.
- Ability added to generate one Python module for each XML Schema
   (.xsd file) imported/included.  Added command line options
   --one-file-per-xsd, --output-directory=, and --module--suffix= in
   support of this.  Thanks much to George David for implementing
   this new feature.
- This change provided by Logan Owen. -- Return self from build
   function of generated classes, to allow easy chaining.  The main
   use case for this change is if you have a list of xml documents,
   and you want to change them into generateDS class instances.
   Thank you Logan.

# =========================================================

You can find it 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

If you have comments, suggestions, or problems, please send them
along.

- Dave

-- 
Dave Kuhlman
http://www.davekuhlman.org


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to