Hello,
I'm testing the changes in the Smooks upgrade from 1.x to 2.0-M3. In previous versions was possible to process EDI by setting up the Smooks reader configurator, now the examples are coming to use dfdl but if I try to do the same, the EDIReaderConfigurator class doesn't exist anymore. Is there some othe way to specify the configuration?
Before I was able to create an external file with the schema of the EDI I'd like to process and the configuration was explicit there, like this:
<?xml version="1.0" encoding="UTF-8"?>
<medi:description name="EDI 214 Message Definition" version="1.0" />
<medi:delimiters segment="~" field="*" component=":" />
<medi:segments xmltag="Segments">
...
...
...
<medi:segments />
------------------------------------------------------------
and the call from inside the code was like:
Smooks smooks = new Smooks();
smooks.setReaderConfig(new EDIReaderConfigurator("/edi/models/invoice.xml"));
smooks.filterSource(....);
Now how do I do something similar in version 2.0 using dfdl?