There is a new version of generateDS.py.
Thanks much to Ryan Leslie for many suggestions and lots of very
helpful guidance with these changes and enhancements.
It is available at:
http://www.rexx.com/~dkuhlman/generateDS-1.19a.tar.gz
and at SourceForge:
https://sourceforge.net/projects/generateds/
I've also put it at the Python Package Index:
http://pypi.python.org/pypi/generateDS/1.19a
Here is a summary of changes from the README:
Version 1.19a (10/21/2009)
* Enhancement to the table of information generated in each class
when the --member-specs=list|dict command line option is used.
For a complexType defined as a simpleType, we now generate a
list of the simpleType and the simpleTypes it is based on using
name "valueOf_". Thanks to Ryan Leslie for much help and
guidance with these changes.
Example:
'valueOf_': MemberSpec_('valueOf_', [u'RelationType',
u'RelationType2', u'xs:string'], 0),
Note the following incompatible changes:
- _MemberSpec changed to MemberSpec_ -- We want avoid posible
name conflicts, not make it "weakly hidden". See the Python
style guide for more on this
- _member_data_items changed to member_data_items_ -- Same
reason.
- Method MemberSpec_.get_data_type() now returns the last item
if the types is a list and the single type if not a list.
- Method MemberSpec_.get_data_type_chain() is a new method that
returns the entire list of data types.
The new tutorial (see tutorial/tutorial.html in the
distribution) has an example of the use of the MemberSpec
feature.
* Fix to DecimalType -- In some cases treated as an integer.
Should be a float. Thanks Ryan Leslie for catching this.
* Removed last bits of the generation of a SAX parser. It no
longer worked and is not needed.
* Several fixes to determination and handling of types.
* Added unit test for extensions to simple types and for MemberSpec.
* There is now a preliminary version of a tutorial.
As usual, comments, suggestions, error reports, etc are
appreciated.
- Dave
--
Dave Kuhlman
http://www.rexx.com/~dkuhlman
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
generateds-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/generateds-users