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

See the notes below from the README for more details.

You can find it here:

- 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

If you have comments, suggestions, or problems, please send them
along.  The email list is here:
https://lists.sourceforge.net/lists/listinfo/generateds-users

Dave

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

Version 2.29.9 (03/02/2018)

- Added command line flag --always-export-default
  (AlwaysExportDefault).  When used, the generated module will
  always export attributes with a default value even when the
  current value is equal to the default value.  Thanks to Marc
  Capavanni for suggesting this.

Version 2.29.8 (03/02/2018)

- Added a change so that an attribute specified as `fixed` will be
  handled in the same way as one specified as `default`.  This
  leaves it to the user to validate and enforce the `fixed`
  restriction in some other way, e.g. through use of an XML
  validating parser such as `xmllint`.  Thanks to Sanja Abbott for
  suggesting this enhancement.
- Various fixes for string/unicode differences across Python 2 and
  Python 3.

Version 2.29.7 (02/05/2018)

- Fix for unicode error that occurs during simpleType validation
  under Python 2.7.  Thanks to Juha Tuomala for reporting this issue.
- Added a test for xs:simpleType validation that uses a pattern
  containing a multi-byte character.

Version 2.29.6 (01/22/2018)

- Fix to generation of namespace prefix in export methods.  With
  this fix, process_includes.py collects information about which
  xs:element and xs:complexType definitions are in which target
  namespaces.  Then generateDS.py uses that dictionary to generate
  export methods that produce the namespace prefix.  Thanks to Rob
  Calvert for identifying this problem and for helping me to
  understand it.

Version 2.29.5 (01/17/2018)

- Fix to prevent infinite recursion that happens when a simple type
  is defined whose name is the same as it's restriction base type
  except for the namespace prefix.  Thanks to Nicolas de Saint Jorre
  for reporting this problem and for providing a schema that
  reproduces it.

Version 2.29.4 (12/14/2017)

- Fix for exporting the child of an element, when that child is
  declared as an instance of an abstract type (abstract="true" in
  the schema).  When exporting, the type of the child needs to be
  determine at runtime through polymorphism.  This fix prevents the
  containing (parent) object from passing the name of the abstract
  class to the instance of the concrete class when calling its
  export function.  Thanks to Rob Calvert for reporting this and for
  his analysis that helped me understand the problem.

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

-- 

Dave Kuhlman
http://www.davekuhlman.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to