There is a new version of generateDS.py etc -- version 2.4c.
Here are a few notes and details from the README:
# =========================================================
Version 2.4c (03/21/2011)
* Added minimal support for unsignedLong, unsignedInt, and
unsignedByte.
* Made the retrieval of the parent (superclass) name and parent
object for an element more consistent. Fixed some cases where
this was not handled correctly, in particular, the generation of
arguments and paramenters for ctors (__init__) was inconsistent
and caused errors.
* Regularized the handling of fromsubclass_ and added this
handling to the exportChildren methods. This is used to tell a
superclass, during build and export, that the subclass has
already performed certain operations.
* Fix to process_includes.py so as to prevent it from loading
schemas multiple times. The check for already_processed was
formerly incorrect.
* Fix related to restrictions on complexType -- Do not generate
call buildChildren in the superclass for restrictions (as
opposed to extensions) of a complexType. Ditto for
exportChildren. Note that restrictions must repeat (and
restrict the value of) each sub-element that is to be included
in the content of the restriction. See:
http://www.w3.org/TR/2004/REC-xmlschema-0-20041028/#DerivByRestrict
# =========================================================
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.4c.tar.gz
If you have comments, suggestions, or problems, please send them along.
- Dave
--
Dave Kuhlman
http://www.rexx.com/~dkuhlman
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and publish
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
generateds-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/generateds-users