ServingXML Changelog

What's new in ServingXML 1.0.5

Jun 3, 2009
  • The new flat file option "trimQuoted" trims quoted fields of leading/trailing space if set to true, defaults to false (the old option "trim" trims space outside of quotes if set to true, defaults to true.)
  • The new element sx:overpunchField supports overpunch fields in flat file definitions, as described in http://en.wikipedia.org/wiki/Signed_overpunch Special thanks to Matt Dowell for contributing code. Refer to the documentation for sx:overpunchField in the Element Reference.

New in ServingXML 1.0.4 (May 15, 2009)

  • Bug fixes:
  • loadComponentDefinitions(String[] hrefs) fails, fix contributed by Yex)
  • Enhancements:
  • In previous versions, saxon:xquery could only be used to produce an XML document, now it can evaluate an expression that produces a non-XML string. See the xml-to-parameters example in servingxml-saxon/samples.
  • Overrides have been added to IocContainerFactory.createIocContainer for DOM Document and InputStream objects

New in ServingXML 0.9.5 (Nov 28, 2008)

  • Bug Fix:
  • The default flat file readers with no flat file definition (no sx:flatFile element), for csv files with headers, used the byte scanners rather than the character scanners. This could fail for multi-byte character streams. This is fixed. Changes to Element and Atribute Names: (non breaking, backwards compatible, old names still supported)
  • sx:subrecordMapping attribute "field" renamed to "repeatingGroup"
  • In sx:composeRecord,
  • attribute compositeRecordType renamed to recordType, now allows substitution expressions
  • attribute repeatingGroupField renamed to repeatingGroup
  • In sx:decomposeRecord,
  • attribute compositeRecordType renamed to recordType
  • attribute repeatingGroupField renamed to repeatingGroup
  • new attribute subrecordType Enhancements
  • An optional message attribute has been added to msv:recordValidator and msv:schemaValidator. If a message is supplied, that message will be used instead of the XML Schema error message.
  • ServingXML now supports mapping spanned System Management Facilities (SMF) files to XML, see the Flat-File-to-XML example "smf". New elements have been added: sx:spannedFlatRecordType and sx:segmentConcatenation.
  • ServingXML now strips BOM characters for UTF-8, UTF-16, and UTF-32 in flat file readers as Java does not strip BOM in all cases. Legacy encodings and binary input are unaffected. The Flat-File-to-XML sample input file countries.csv now starts with a UTF-8 EF BB BF BOM.

New in ServingXML 0.9.3 (Sep 29, 2008)

  • This release introduces new elements for validating the fields and subrecords of records with regular expressions, and for taking projections of specified fields of records.
  • New examples illustrate how to transform financial data for FRAs and swaps into FpML documents.

New in ServingXML 0.9.0 (Sep 8, 2008)

  • This release adds an sx:commandSource element, which allows a flat file reader or an XML reader to read from the standard output of a shell command.
  • It also adds an sx:commandSink element, which allows a flat file writer or an XML serializer to write to the standard input of a shell command.