PyXB, pronounced “pixbee” is designed to be a pure Python package that is able to generate Python source code for classes that correspond to data structures defined by XMLSchema.
The generated classes support bi-directional conversion between XML documents and Python objects. In concept it is similar to JAXB for Java and CodeSynthesis XSD for C++.
What's New in This Release:
Key features of the release:
· Full support for mixed content schema through a new method orderedContent on complex binding instances and flags that control when that list affects document generation. See Influencing Element and Mixed Content Order. This is particularly relevant to XHTML.
· Immediate validation of values assigned to plural elements.
· A first step to providing finer control of validation, using ValidationConfig
The following reported defects/enhancements have been addressed:
· Validate pyxb.BIND at point of use.
· Issues with renamed element (most of which were mis-use of pyxb.BIND).
· Support for default and fixed values in elements.
· Support for mixed content.
· Provide an example based on a help-forum thread to show how to take advantage of PyXB 1.2.x improved diagnostics.
· Improve interpretation of Python native type values when used in element constructors.
· Add ECMA-376 (Office Open XML) as an optional bundle.
· Fix invalid error when an all model group had minOccurs=0.
· Add Dubl...