1.2.3 (18 Sep 2013)
This is primarily a bug-fix and clean-up release. One new feature is that
starting with this release a Python 3 compatible version of PyXB will be
available in the git repository. For this version, it may be obtained by::
git clone -b python3/pyxb-1.2.3 git://git.code.sf.net/p/pyxb/codepyxb3-1.2.3
The Python 3 code in this branch is created by automatic conversion of the
Python 2 code using the maintainer/2to3 script. While not officially
supported until PyXB 1.3.0, Python 3 appears to work correctly with this
version.
Behavioral changes:
- PyXB 1.2.1 automatically filled in the content of fixed elements. This
generated invalid documents when the particular element should have been
absent for some content. The feature has been removed so fixed elements
initialize to absent just like every other element.
- The former `--pre-load-archives` option to pyxbgen has been removed and
replaced by :ref:`pyxbgen--import-augmentable-namespace` which has more
consistent semantics. Schema import directives related to a
non-augmentable
namespace (one for which the referenced option has not been provided) will
be ignored if content for the namespace can be located in any archive or
builtin.
- Generating DOM (or XML) expressions of bindings that were created by type
constructors and not associated with elements now cause an exception to be
raised rather than mis-using the type name as though it were a valid
element
tag.
Code cleanup:
- Trailing whitespace throughout the source has been removed to decrease git
complaints and non-reproducible patches.
- Several coding practices that would not work under Python3 have been
replaced with new solutions.
The following reported `defects/enhancements
<http://sourceforge.net/apps/trac/pyxb/>`_ have been addressed:
- Fix DOM style handling of xsi:type attribute. :ticket:`166`
- Fix problems with nillable simple types. :ticket:`200`
- Fix problems inserting into plural element attributes. :ticket:`201`
- Correct namespace-qualified attributes. :ticket:`202`
- Eliminate automatic derivation of XML element tag from binding type when
converting an element-free instance to DOM. :ticket:`203`
- Eliminate default to fixed value for elements. :ticket:`204`
- Re-word exception when element content was incompatible with fixed value.
:ticket:`205`
- Fix the aslocal() method for xs:dateTime values with non-UTC timezones.
:ticket:`206`
- Fix values for restricted duration ranges in pickled data such as
namespace
archives. :ticket:`207`
- Correct the interpretation of QName-valued base and similar attributes
with
respect to in-scope namespace declarations. :ticket:`208`
- Rework how to specify that imported namespaces should be processed to
extend
the content model. :ticket:`209`
- Removed redundant code in pyxbgen relevant to
:ref:`pyxbgen--wsdl-location`. :ticket:`210`
- Refine diagnostics when an element with simple type appears in a context
that expects non-element content. :ticket:`211`
- Add :api:`pyxb.NonElementContent` to simplify access to non-element
content
in a mixed-content instance. :ticket:`212`
- Convert assert failures to diagnostic exceptions when generating DOM
expressions of complex types with simple content where the content is
missing. :ticket:`213`
- Ensure attribute values are converted from lexical space to value space
when
assigned from an XML representation. :ticket:`216`
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
pyxb-users mailing list
pyxb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyxb-users