I am trying to migrate smooks due to many vulnerability issues from 1.7 to 2. Is there any migration guide I can use?
It's not clear e..g what to replace D96AInterchangeFactory and UNEdifactInterchange41 with. In version 2 there is only a class org.smooks.edifact.binding.d96a Interchange. But where to specify the version?
Same for class UNEdifactMessage41. There was a method getMessage(). But in org.smooks.edifact.binding.d96a Message there is none. So no need to do validations like this anymore?
In 1.7 it was unEdifactMessage.getMessage() and now it is message.getContent. Before it was an object and now it is a list of objects. Can someone please explain why the structure changed and how to cope with it.
Adresse: Conrad Electronic SE, Klaus-Conrad-Str. 1, 92240 Hirschau
Geschäftsführende Direktoren: Ralf Bühler (Vorsitzender), Jürgen Groth, Dr. Sebastian Dehnen
Handelsregister: Amtsgericht Amberg HRB 3896
Diese E-Mail kann (streng) vertrauliche und damit rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
--
You received this message because you are subscribed to the Google Groups "Smooks Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smooks-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/f81745fb-6a57-4195-b6ba-fe2e04fd55b8n%40googlegroups.com.
Now I try it like that since no factory exists anymore I guess
But the variable "interchange" is always null. What am I missing here?
I recognized one difference between old version and new one. Before I had three dependencies and now only two. Does the mappings dependency not exist anymore? Can this cause my problem when parsing edifact to Interchange object?
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/2c11a6a2-fdfd-486e-8920-80a8a3cead5bn%40googlegroups.com.