Skip to content

EFX Toolkit for Java 1.2.0

Compare
Choose a tag to compare
@meletev meletev released this 31 Oct 10:16

Release Notes

The EFX Toolkit for Java developers is a library that enables the transpilation of EFX expressions and templates to different target languages. It also includes an implementation of an EFX-to-XPath transpiler.


In this release:

  • We fixed a bug in the XPathScriptGenerator that was causing references to fields of type measure (duration) to throw an exception when multiple values where matched by the reference.
  • We fixed an issue in the SdkSymbolResolver that was causing some code labels to be resolved incorrectly. The SdkSymbolResolver now correctly looks for the root codelist associated with a field in the codelist metadata provided in the codelists folder, instead of relying on the codelist constraint metadata provided in fields.json.
    ⚠️ CAUTION: If you have implemented your own SymbolResolver make sure that your implementation of getRootCodelistOfField retrieves the parent codelist information from codelists/codelists.json or directly from the .gc files in the codelists folder of the eForms SDK.
  • We refactored the code to move to the eForms Core Java library some common entity classes that were not specific to EFX (SdkEntityFactory, SdkField, SdkNode, SdkCodelist). We also moved into the EFX Toolkit some reusable classes (SdkSymbolResolver, ComponentFactory) from the eForms Notice Viewer sample application. The result of this refactoring is efx-toolkit-java-1.2.0, eforms-core-java-1.0.0 and eforms-notice-viewer-0.6.0.

You can download the latest EFX Toolkit from Maven Central.
Maven Central

Documentation for the EFX Toolkit is available at: https://docs.ted.europa.eu/eforms/latest/efx-toolkit


This version of the EFX Toolkit has a compile-time dependency on the following versions of eForms SDK versions and uses the EFX grammar that each version provides:

  • eForms SDK 0.6.x
  • eForms SDK 0.7.x
  • eForms SDK 1.x.x

It also depends on the eForms Core Java library version 1.0.0.