v1.8.0 - New Schema Version 4
There are lots of changes in this release! Many are dealing with a new version of the EDI schema. To take advantage of the new schema, the http://xlate.io/EDISchema/v4
namespace must be used. Note that the V4 schema has removed the ref
attribute from type references and requires the use of type
instead (replace ref=
by type=
in your schema files).
Change Summary
- [ 681fba6 ] Add
EDIStreamWriter#getDelimiters
, auto-write UNA for EDIFACT if needed - [ #38, #39, #48, #50 ] Support an
<include>
element in schema files to allow EDI schema reuse, extensions. To use this feature, thehttp://xlate.io/EDISchema/v4
namespace must be used in your<schema>
. - [ 58793d4 ] Support X12 ISB segment in out-of-the-box control schemas
- [ c40d367 ] Support X12 ISE segment in out-of-the-box control schemas
- [ 71c7725 ] Allow versions for
elementType
, validate X12 GS date based on version. This allows a single schema to handle multiple versions of a standard when the difference is dealing the size or code value constraints for an element. - [ 63f65e4 ] Consider dialect-specific transaction version when validating occurrences of elements/composites
- [ #40, #41 ] Add
SchemaFactory.SCHEMA_LOCATION_URL_CONTEXT
property. Allows for the relative URLs (besides relative to working directory) to be used in theschemaLocation
attribute of theinclude
element. - [ #46, #47 ] Add option to suppress trailing empty elements,
EDIOutputFactory.TRUNCATE_EMPTY_ELEMENTS