release: final apache: true title: 2.7.0 date: 2020-07-14 summary: > Bug fixes, new features

source-dist: - “apache-daffodil-2.7.0-incubating-src.zip”

binary-dist: - “apache-daffodil-2.7.0-incubating-bin.tgz” - “apache-daffodil-2.7.0-incubating-bin.zip” - “apache-daffodil-2.7.0-incubating-bin.msi” - “apache-daffodil-2.7.0.incubating-1.noarch.rpm”

scala-version: 2.12

This release contains a small set of new features and a number of important bug fixes.

New Features

  • {% jira 1114 %} DPath: fn:namespace-uri() Unsupported Function
  • {% jira 341 %} variables - newVariableInstance
  • {% jira 357 %} Asserts with failureType=“recoverableError” to create warnings

Bug Fixes

  • {% jira 1101 %} MissingFormatArgumentException: Format specifier ‘s’
  • {% jira 1656 %} Writing to a variable multiple times does not cause an SDE during parsing
  • {% jira 1681 %} Need validation of infoset data
  • {% jira 2120 %} dfdl:textStringPadCharacter not validated/cooked properly. It is set to " " in AF.dfdl.xsd but should be %SP;
  • {% jira 2124 %} Error unparsing bigInts
  • {% jira 2199 %} initiatedContent=“yes” does not cause SDE when initiator=“%ES;”
  • {% jira 2327 %} expresion on all unsignedInt element and variables results in cast exception
  • {% jira 2328 %} setValidation - bug. Is calling super.withValidation which will not work.
  • {% jira 2334 %} Mutable Variable API changes break schemas
  • {% jira 2338 %} Use consistent validation of primitives
  • {% jira 2342 %} Variable issue with LINK16 schema project
  • {% jira 2349 %} totalDigits valiation broken when totalDigits >= 10

Improvements

These changes improve code maintainability.

  • {% jira 2187 %} too many debug/oolagdebug messages from sbt it:test
  • {% jira 1326 %} RuntimeData objects should not carry namespaces
  • {% jira 1447 %} Performance: Improve performance with VariableMap
  • {% jira 1673 %} code quality: use non-deprecated syntax for methods that don't return a value
  • {% jira 1983 %} Eliminate eclipse classpath maintenance - UpdateEclipseClasspaths - run from sbt
  • {% jira 2303 %} catch of Throwable in ExternalVariablesLoader.scala
  • {% jira 2310 %} Move VariableMap.scala into runtime1 package
  • {% jira 2325 %} Eliminate complexity of by-Name parameter passing to RuntimeData objects
  • {% jira 2355 %} Update to Apache license for Scala dependencies

TDML

  • {% jira 2340 %} TDML Runner suppresses loading warnings from invalid config files

Miscellaneous Changes and Bug Fixes

  • {% jira 2355 %} Update to Apache license for Scala dependencies