EFX Toolkit for Java 1.2.0
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 typemeasure
(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. TheSdkSymbolResolver
now correctly looks for the root codelist associated with a field in the codelist metadata provided in thecodelists
folder, instead of relying on the codelist constraint metadata provided infields.json
.
⚠️ CAUTION: If you have implemented your ownSymbolResolver
make sure that your implementation ofgetRootCodelistOfField
retrieves the parent codelist information fromcodelists/codelists.json
or directly from the.gc
files in thecodelists
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 isefx-toolkit-java
-1.2.0
,eforms-core-java
-1.0.0
andeforms-notice-viewer
-0.6.0
.
You can download the latest EFX Toolkit from 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.