[xsd-users] xsd 1.4.0 released

Boris Kolpackov boris at codesynthesis.com
Mon Oct 3 07:06:02 EDT 2005


Good day,


We've released xsd 1.4.0. The NEWS file entries for this version
are as follows:

  * Number of improvements and bug fixes in the diagnostics code.

  * libxsd has been reorganized to provide a clean split of code with
    regards to char/wchar_t use. It should be possible to use libxsd
    and the xsd-generated code on platforms that lack wchar_t support,
    such as mingw.

  cxx-tree

    * Work around for g++ bug# 23206.

    * Support for xsd:list.

    * Type/member name conflicts are auto-resolved. Such conflicts
      occur when a type and an element or attribute withing this type
      share the same name.

    * XML Schema extension, the 'refType' attribute, allows one to
      specify referenced type for xsd:IDREF and xsd:IDREFS data types.
      See examples/cxx/tree/library for details.

    * New option, --morph-anonymous, allows automatic morphing
      of anonymous types to named ones. See the man pages for
      details.

    * New option, --namespace-regex-trace, allows one to trace the
      namespace mapping process. See the man pages for details.

    * Mapping for optional elements/attributes (cardinality 0..1)
      has changed in a backwards-incompatible way. In the previous
      version you would write:

      Bar& bar = ...

      if (bar.foo.present ())  // test
      {
        Foo& foo (bar.foo ()); // get

        bar.foo (Foo (...));   // set

        bar.foo.reset ();      // reset
      }

      Now you would write it like this:

      if (bar.foo ().present ())      // test
      {
        Foo& foo (bar.foo ().get ()); // get

        bar.foo (Foo (...));          // set

        bar.foo ().reset ();          // reset
      }

      Or using the pointer notation:

      if (bar.foo ())           // test
      {
        Foo& foo (*bar.foo ()); // get

        bar.foo (Foo (...));    // set

        bar.foo ().reset ();    // reset
      }

  cxx-parser

    * Support for xsd:list.

    * Type/member name conflicts are auto-resolved. Such conflicts
      occur when a type and an element or attribute withing this type
      share the same name.

    * New option, --namespace-regex-trace, allows one to trace the
      namespace mapping process. See the man pages for details.


Precompiled binary distributions for various platforms are available
from the product's web page:

  http://codesynthesis.com/products/xsd/


Source code for this release is available from the project's web page:

  http://codesynthesis.com/projects/xsd/


SHA1 checksums for the files:

67651515eb89500729100081a972e5e2bae1deda  xsd-1.4.0.tar.bz2
00f96bd462b40d04fa7eb49c1c05ddbe294ef104  xsd_1.4.0-1_i386.deb
308b6aba78e00f752d0c5d385eaac3e70335138e  xsd-1.4.0-1.i686.rpm
3affb5e2698df31b5b5ff852683cf697ad60f0be  xsd-1.4.0-i686-linux-gnu.tar.bz2
2760bb87beb61c36f116e9197b950ef78cad6747  xsd_1.4.0-1_amd64.deb
b51eda335712200931eabcd21ee7da07ea810587  xsd-1.4.0-1.x86_64.rpm
7272a9662834ae0a7bf3a4062c14d12c9bc9b370  xsd-1.4.0-x86_64-linux-gnu.tar.bz2
9310adbae40c3fa65f592e95f02f4068caa27e3c  xsd-1.4.0-powerpc-macosx.tar.bz2
f8878f17a8358abe7c3444ec4d91210c2665f7f8  xsd-1.4.0-i686-windows.zip


have fun,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20051003/974d4655/attachment.pgp


More information about the xsd-users mailing list