No significant problems reported relative to the new content model, so it's
no longer beta.

Release notes below.  The big change is proper handling of mixed content;
you can now use PyXB for xhtml.  (I swear, the capability is there, even if
the documentation of how to use it is weak.  Ask questions and I'll be
motivated to improve it.)

Peter

1.2.1 (17 Dec 2012)
-------------------

.. warning::

   This release has an interface change: the :api:`content
   <pyxb.binding.basis.complexTypeDefinition.content>` method on complex
types
   is now deprecated in favor of the :api:`orderedContent
   <pyxb.binding.basis.complexTypeDefinition.orderedContent>` method.  The
   members in the new list have wrapper classes to correctly associate
   instance bindings with the element declaration and to distinguish
instances
   with string values from non-element character data.  The old method is
   supported for this release, but will produce a warning when used, and is
   likely to be removed in the next release.

Key features of the release:

- Full support for mixed content schema through a new method
  :api:`orderedContent
<pyxb.binding.basis.complexTypeDefinition.orderedContent>` on complex
  binding instances and flags that control when that list affects document
  generation.  See :ref:`mixed_content`.  This is particularly relevant to
  XHTML.

- Immediate validation of values assigned to plural elements.

- A first step to providing finer control of validation, using
  :api:`pyxb.ValidationConfig`

The following reported `defects/enhancements
<http://sourceforge.net/apps/trac/pyxb/>`_ have been addressed:

- Validate :ref:`pyxb.BIND<pyxb_BIND>` at point of use.  :ticket:`69`
- Issues with renamed element (most of which were mis-use of pyxb.BIND).
:ticket:`71`
- Support for default and fixed values in elements. :ticket:`99`
- Support for mixed content.  :ticket:`153`, :ticket:`154`
- Provide an example based on a `help-forum thread
  <http://sourceforge.net/projects/pyxb/forums/forum/956708/topic/5422611/
>`_
  to show how to take advantage of PyXB 1.2.x improved diagnostics.
  :ticket:`158`
- Improve interpretation of Python native type values when used in element
  constructors.  :ticket:`175`
- Add :ref:`ECMA-376 (Office Open XML)<bundle_ecma376>` as an optional
bundle.
  :ticket:`178`
- Fix invalid error when an all model group had minOccurs=0.  :ticket:`179`
- Add :ref:`Dublin Core<bundle_dc>` to the standard bundles.  :ticket:`180`
- Allow control of element order in generated documents.  :ticket:`181`
- Include wildcard elements in content.  :ticket:`182`
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
pyxb-users mailing list
pyxb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyxb-users

Reply via email to