JiBX Changelog

What's new in JiBX 1.2.6

Jan 10, 2015
  • Added support for binding class files compiled with Java 7.

New in JiBX 1.2.5 (Aug 28, 2013)

  • Fixed several problems with embedded schema components in CodeGen JavaDocs, including use of ref="..." attributes to components in other namespaces
  • Corrected several related issues in code generation from schema for schema using substitution groups, or group reference as base for complexType extension or restriction
  • Corrected code generation from schema when using the xml.xsd definitions from the http://www.w3.org/XML/1998/namespace namespace
  • Corrected bug in schema validation which required a base='...' attribute for a simpleType restriction element (inline base type allowed as alternative)
  • Fixed broken WSDL generation from Jibx2Wsdl, which generated empty definitions for output messages
  • Added support for xs:list types
  • Better naming algorithm for nested schema components (if only one child component, pass the outer name down to the child component)
  • Fixed repeated-type="array" CodeGen customization
  • Corrected problem with using existing bindings with redundant includes with CodeGen (NPE)
  • Changed Java 5 enum default serialization to use the name() method, rather than the toString() method
  • Changed Java 5 enum code generation from schema to add an xmlValue() method where needed to supply the actual text to be used in a document, rather than overriding toString()

New in JiBX 1.2.2 (Apr 24, 2010)

  • Fixed namespace handling for concrete mappings in precompiled binding
  • Added new ExtensionDecorator for setting a base class to be extended by the generated class, and also allowing pre-get/pre-set/post-set methods to be specified (from the base class, normally)
  • Fixed problem with element definition using wrong namespace in binding when the element type is in a different namespace
  • Added binding-file-name, binding-per-schema, and prefix attributes for and customizations, to control binding generation; now uses namespace prefix from schemas by default
  • Added -i CodeGen command line parameter, to use pregenerated bindings and code for referenced schemas
  • Added customization to allow overrides to the default handling of predefined schema datatypes
  • Added support for Joda Time library, including extensive conversion options
  • Fixed stack overflow resulting from circular schema references, added support for circular schema includes
  • Added support for schema xs:all compositor to code generation
  • Changed code generation to follow JavaBean conventions with isXXX() method rather than getXXX() for a boolean value
  • Added support for classpath: URLs for binding include paths
  • Added support for using existing bindings and schemas with Jibx2Wsdl
  • Added customizations for service method parameters and return values with Jibx2Wsdl
  • Added schema definition for CodeGen customizations (schemas/codegen-customizations.xsd

New in JiBX 1.2.1 (Mar 11, 2009)

  • Handle xs:annotation child elements of xs:schema.
  • Fix some cases where element name was set on concrete mapping reference.
  • Skip the nonamespace namespace in set needing to be defined when generating documentation (avoiding NPE).
  • Fix handling of schema URLs (rather than file paths) passed on command line.
  • Fix binding compiler issues in namespace handling, including detecting when the nonamespace namespace cannot be used because some other namespace has been made the default.
  • Loosen attribute matching test for precompiled binding being included, only testing cases where compatibility is an issue.
  • Allow for precompiled bindings to include other bindings, and only check for package on direct precompiled includes.
  • Change to arbitrary content for both xs:documentation and xs:appinfo element.
  • Check for absolute file path provided for schema, before assuming relative.
  • Report an error when the type specified for a schema element is an abstract type.
  • Add reference item for complexType restriction base type, rather than just ignoring (necessary so that schema extract handling will pick up namespace reference).

New in JiBX 1.2 (Mar 6, 2009)

  • Added support for binding and schema generation from Java code, and for binding and code generation from XML schema, with extensive customizations support for both.
  • Added support for modular binding compiles, using a 'precompiled' attribute of the element to flag that the included binding has already been separately compiled.
  • Restructured binding compiler code generation to clean up method structure and avoid redundant code.
  • Corrected code generation for abstract mapping references within a choice.
  • Added error check for invalid first byte when reading UTF-8 stream directly.
  • Added org.jibx.runtime.PrintInfo class to print binding information, made this the main class when the runtime jar is executed directly.
  • Added XBIS encoding support for faster and more compact data exchange when both ends are using JiBX (compared to text XML).
  • Improved exception message when unmodifiable class needs to be modified, to give both the class name and the path used to load the class.
  • Added 'flag-method' property attribute to indicate the presence or absence of an element when unmarshalling.