Hello Dave,

thank you for your update and the effort put in.
Let me know if I can help with something.
Regards,

Peter

___
mailto:dkdn...@gmail.com

On Wed, Nov 16, 2016 at 11:14 PM, Dave Kuhlman <dkuhl...@davekuhlman.org>
wrote:

>
> I've pushed a few changes to Bitbucket and created a release.  This
> change includes:
>
> - A modification to the fix for duplicate elements.  I uncovered a
>   problem while testing with some of the FpML schemas
>   (www.fpml.org).  This change works with that case and still
>   handles the case reported by Pietro.
>
> - I've removed the --remove-duplicate-child-elements command line
>   option.  Now, we always perform that operation.  Leaving that
>   option in would mean that users who do not know about that option
>   could generate code containing a bug that would be hard to track
>   down.
>
> If you try this change, please let me know whether it works for you.
>
> There are still problems with the code generated from the FpML
> schemas, but they are not related to this one.  I'll try to look
> into that later.  As far as I can tell, there are elements in the
> sample instance XML documents that are not explicitly defined.  More
> about that later, if and when I figure it out.  I'm possibly missing
> some of their schemas: either I can't find them or don't have access
> to them at their Web site.
>
> You can find it in the usual places:
>
> - Python Package Index -- http://pypi.python.org/pypi/generateDS/
> - Source Forge -- http://sourceforge.net/projects/generateds/
> - Bitbucket -- For those of you who prefer using Mercurial, there is
>   also a Mercurial repository at Bitbucket:
>   https://bitbucket.org/dkuhlman/generateds
>
> Notes from the README are below.
>
> Dave
>
> # =========================================================
> Version 2.24a (11/16/2016)
>
> - Added entry_points to setup.py so that distutils will generate
>   executable scripts for executable .py files (for example,
>   generateDS.py and process_includes.py).  Thanks to Michael Jenny
>   for suggesting this and for showing the way to do it.
> - Fixed function call signature mismatch in MixedContainer call to
>   export method.  Thanks to Lev Israel for catching this and
>   providing the solution.
> - Added "remove duplicate elements" fix to catch duplicate
>   definitions of child elements with the same name inside a single
>   parent element.  This fix does the following: (1) removes
>   duplicate child; (2) makes the remaining child a Python list
>   (effectively maxOccurs="unbounded"); (3) prints a warning message
>   when it finds and removes a duplicate.  Thanks to Pietro Saccardi
>   for catching and reporting this.
> - More fixes for "remove duplicate elements".
> - Removed command line option for "remove duplicate elements".  This
>   behavior will now always be performed.
> - Added unit test for "remove duplicate elements".
> - Added command line option "--no-warnings" to turn off warning
>   messages.  I needed it for the unit test for "remove duplicate
>   elements".
> # =========================================================
>
> --
>
> Dave Kuhlman
> http://www.davekuhlman.org
>
------------------------------------------------------------------------------
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to