There is a new version of generateDS.py etc -- version 2.3a. Thanks to Jaime Cepas for guiding me on the work on restrictions.
Here are a few notes and details from the README: # ========================================================= Version 2.3a (12/02/2010) * Added generatation of code to handle attributes inherited by a restriction from its base type and the types that the base extends (i.e. from a restriction base class and its superclasses). * Fix to code that generate the references to the superclass from a type that is an extension: special characters (e.g. dash) were not being cleaned/mapped. Reported by Koen Smets; thanks. * To do: - In a restriction, inherited attributes can be "prohibited". It would be nice if gDS would do something to block their use. - When: AbstractElement mixed=false and Element1 mixed=true base=AbstractElement and Element2 mixed=FALSE base=AbstractElement Incorrect parse code is generated for Element2. Reported by Jaime Cepas. - It might be desirable if the getter functions could be asked to return values encoded to utf-8 for xs:string types. - Code that is generated to export to python code needs updating, in particular we need to update encoding of exported strings. Thanks to Kristoffer Kobosko for reporting this. # ========================================================= As you can see, there are quite a few items on the "to-do" list. But, I thought it's worth-while to make a version available that fixes a couple of problems. Also, I have a couple of other tasks that I need to spend some time on, and I did not want this update delayed because of that. I'll get back on it before long. 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.3a.tar.gz If you have comments, suggestions, or problems, please send them along. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users