Posted: Mon Oct 16, 2017 11:06 pm Post subject: DFDL: Not able to serialize empty fields
Novice
Joined: 07 Dec 2016 Posts: 10
I have a requirement.
Data comes in text format
Eg: ABCD//12/34/EF//GH
I have to pass the data as is with minor modification. I am using a DFDL to parse the message with '/' as seperator as I need to insert a value in one of those empty fields above given as '//'. But I need the other empty fields to pass as is. I am using same DFDL to parse and and serialize both input and output. When I do that the empty fields doesn't reflect in the output.
Is there any solution to this? Can anything be done by changing DFDL properties?
I am using same DFDL to parse and and serialize both input and output. When I do that the empty fields doesn't reflect in the output.
What value have you assigned to the 'Separator Suppression Policy' on the sequence group that contains your fields? It should be 'suppressAtEnd'. Not 'suppress'.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum