|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
DFDL Parser |
« View previous topic :: View next topic » |
Author |
Message
|
shekarpr09 |
Posted: Thu Apr 07, 2022 8:07 am Post subject: DFDL Parser |
|
|
Newbie
Joined: 07 Apr 2022 Posts: 2
|
Hi All,
I have a requirement that ACEv11 will receive a DFDL message which will have 10 fields and convert to CSV.
But If client sends 11 fields in the input I have to ignore 11th field , can any suggest is there any option to set property in DFDL model configuration.
Thanks In Advance! |
|
Back to top |
|
 |
abhi_thri |
Posted: Thu Apr 07, 2022 8:28 am Post subject: |
|
|
 Knight
Joined: 17 Jul 2017 Posts: 516 Location: UK
|
|
Back to top |
|
 |
shekarpr09 |
Posted: Thu Apr 07, 2022 9:32 pm Post subject: |
|
|
Newbie
Joined: 07 Apr 2022 Posts: 2
|
@abhi_thri
i gone through which you provided link but that's a different case , here i need to parse the xml with dfdl even if we have extra fields. |
|
Back to top |
|
 |
abhi_thri |
Posted: Fri Apr 08, 2022 1:24 am Post subject: |
|
|
 Knight
Joined: 17 Jul 2017 Posts: 516 Location: UK
|
hi....sorry, so your input is an xml file and you are trying to parse it with dfdl, why so as dfdl is used for 'text/binary format' data,
https://www.ibm.com/docs/en/app-connect/11.0.0?topic=model-data-format-description-language-dfdl
for xml input files you should ideally look using xmlnsc domain and validate the message against the xsd schemas deployed via a library. If you don't have an xsd and unsure about the number/type of the fields in the xml file then don't validate it, receive it as xmlnsc and map just those 10 fields to the outbound csv format. |
|
Back to top |
|
 |
timber |
Posted: Tue Apr 12, 2022 9:21 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|