ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » DFDL Failing to serialise

Post new topic  Reply to topic
 DFDL Failing to serialise « View previous topic :: View next topic » 
Author Message
edd
PostPosted: Fri Aug 18, 2017 10:15 am    Post subject: DFDL Failing to serialise Reply with quote

Novice

Joined: 18 Aug 2016
Posts: 14

Hi All,

I created a general purpose DFDL to map the data. After creating the DFDL, I tested it with an output message I'm supposed to get and was parsed successfully. I have even created a logical instance and serialized with the logical instance created and it succeeded.

But, When I deploy the code, and put in a input message, it failed with the below error:
Code:
Aug 18 18:57:50 server1 user:err|error IIB[25166032]: IBM Integration Bus v9003 (BROKER1.BROKER1_001_TEST) [Thread 10629] (Msg 1/3) BIP2628E: Exception condition detected on input node 'map_test_flow.MQ Input'.
Aug 18 18:57:50 server1 user:err|error IIB[25166032]: IBM Integration Bus v9003 (BROKER1.BROKER1_001_TEST) [Thread 10629] (Msg 2/3) BIP2230E: Error detected whilst processing a message in node 'map_test_flow.MQ Output1'.
Aug 18 18:57:50 server1 user:err|error IIB[25166032]: IBM Integration Bus v9003 (BROKER1.BROKER1_001_TEST) [Thread 10629] (Msg 3/3) BIP5831E: The DFDL serializer signalled that a processing error occurred.  The message from the DFDL serializer is:  CTDU4010E: Element '#xscd(/schemaElement::MPurchOrds/type::0/model::sequence/schemaElement::MPurchOrd/type::0/model::sequence/schemaElement::Header/type::0/model::sequence/schemaElement::CTAOC/type::0/model::sequence/schemaElement::CTA-REC-TYPE_OC)' has minOccurs '1' but the DFDL infoset has '0' occurrences. This is not allowed when occursCountKind is 'fixed' or 'implicit' or minOccurs is '1' and maxOccurs is '1'.   The element being serialized was:  /DFDL/MPurchOrds/MPurchOrd/Header/CTAOC/CTA-REC-TAG_OC


This is the DFDL I have created:

Code:


<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:Q1="ns0" xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" xmlns:fmt="http://www.ibm.com/dfdl/GeneralPurposeFormat" xmlns:ibmSchExtn="http://www.ibm.com/schema/extensions" xmlns:ns0="http://www.millordercompanytest.com/dfdl/MillPurchOrder">
   <xsd:import namespace="http://www.ibm.com/dfdl/GeneralPurposeFormat" schemaLocation="IBMdefined/GeneralPurposeFormat.xsd"/>
   <xsd:element dfdl:lengthKind="implicit" ibmSchExtn:docRoot="true" name="MPurchOrds">
      <xsd:complexType>
         <xsd:sequence dfdl:separator="">
            <xsd:element dfdl:lengthKind="implicit" dfdl:occursCountKind="implicit" maxOccurs="unbounded" name="MPurchOrd">
               <xsd:complexType>
                  <xsd:sequence dfdl:separator="">
                     <xsd:element dfdl:lengthKind="implicit" name="Header">
                        <xsd:complexType>
                           <xsd:sequence dfdl:separator="">
                              <xsd:element dfdl:lengthKind="implicit" name="UNB">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNB-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="UNB" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNB-REC-TAG" type="xsd:string"/>
                                       <xsd:element dfdl:occursCountKind="implicit" minOccurs="0" name="UNB-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="4" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-SYNT-IDENT" type="xsd:string"/>
                                                <xsd:element dfdl:length="1" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-SYNT-VERS-NO" type="xsd:string"/>
                                                <xsd:element dfdl:occursCountKind="implicit" minOccurs="0" name="UNB-V951-INTCHGE-SENDER">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-SENDER-ID" type="xsd:string"/>
                                                         <xsd:element dfdl:length="4" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-SEND-ID-CD-QUAL" type="xsd:string"/>
                                                         <xsd:element dfdl:length="14" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-FILLER-1" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element dfdl:occursCountKind="implicit" minOccurs="0" name="UNB-V951-INTCHNGE-RECPT">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-RECPT-ID" type="xsd:string"/>
                                                         <xsd:element dfdl:length="4" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-ID-CD-QUAL" type="xsd:string"/>
                                                         <xsd:element dfdl:length="14" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-RTNG-ADDR" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element dfdl:length="6" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-DATE" type="xsd:string"/>
                                                <xsd:element dfdl:length="4" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-TIME" type="xsd:string"/>
                                                <xsd:element dfdl:length="14" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-INTCHGE-CONT-REF" type="xsd:string"/>
                                                <xsd:element dfdl:occursCountKind="implicit" minOccurs="0" name="UNB-V951-RECPT-REF-PASSWORD">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="14" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-RECPT-REF-PASSWD" type="xsd:string"/>
                                                         <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-RECPT-REF-PASSWD-QL" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element dfdl:length="14" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-APPLIC-REF" type="xsd:string"/>
                                                <xsd:element dfdl:length="1" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-PROC-PRTY-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="1" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-ACK-REQ" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-COMMS-AGREE-ID" type="xsd:string"/>
                                                <xsd:element dfdl:length="1" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-TEST-IND" type="xsd:string"/>
                                                <xsd:element dfdl:length="48" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="UNB-V951-FILLER-2" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                              <xsd:element dfdl:lengthKind="implicit" name="UNH">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="UNH" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="UNH-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="14" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-MESS-REF-NO" type="xsd:string"/>
                                                <xsd:element dfdl:length="6" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-MESS-TYPE-IDENT" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-MESS-TYPE-VERS-NO" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-MESS-TYPE-REL-NO" type="xsd:string"/>
                                                <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-CONT-AGNCY" type="xsd:string"/>
                                                <xsd:element dfdl:length="6" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-ASS-ASSGN-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-COMM-ACCESS-REF" type="xsd:string"/>
                                                <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-SEQ-MSG-TRANS-NO" type="xsd:string"/>
                                                <xsd:element dfdl:length="1" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-FL-SEQ-MSG-TRANS-NO" type="xsd:string"/>
                                                <xsd:element dfdl:length="11" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-CUSTOMER-REF" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-REPEATING-LIN" type="xsd:string"/>
                                                <xsd:element dfdl:length="165" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="UNH-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                              <xsd:element dfdl:lengthKind="implicit" name="BGM">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="BGM" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="BGM-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-V951-DOC-NAME-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-V951-CODE-LIST-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-V951-CODE-LIST-RESP-AGNCY" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-V951-DOC-NAME" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-V951-DOC-NUMB" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-V951-MESS-FUNCT-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-V951-RESP-TYPE-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="166" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="BGM-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                              <xsd:element dfdl:lengthKind="implicit" name="DTM4">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="DTM-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="DTM" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="DTM-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="DTM-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="DTM-V951-DTP-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="DTM-V951-DTP" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="DTM-V951-DTP-FORM-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="210" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="DTM-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                              <xsd:element dfdl:lengthKind="implicit" name="NADBY">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="NAD" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="NAD-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-PARTY-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-PARTY-IDENT" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-CODE-LIST-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-CODE-LIST-RESP-AG-CDD" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-1" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-2" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-3" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-4" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-V951-NAME-ADDR-5" type="xsd:string"/>
                                                <xsd:element dfdl:length="32" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                       </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                                       <xsd:element dfdl:lengthKind="implicit" name="CTAOC">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:nilValue="%SP;" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-REC-TYPE_OC" nillable="false" type="xsd:string"/>
                                                <xsd:element default="CTA" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-REC-TAG_OC" type="xsd:string"/>
                                                <xsd:element name="CTA-REST-DATA_OC">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" name="CTA-V951-CODE-CONT-FUNCT_OC" type="xsd:string"/>
                                                         <xsd:element dfdl:length="17" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-DOE-IDENT_OC" type="xsd:string"/>
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-DOE_OC" type="xsd:string"/>
                                                         <xsd:element dfdl:length="196" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-FILLER-1_OC" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                       <xsd:element dfdl:lengthKind="implicit" name="NADSE">
                                          <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="NAD" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="NAD-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-PARTY-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-PARTY-IDENT" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-CODE-LIST-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-CODE-LIST-RESP-AG-CDD" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-1" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-2" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-3" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-4" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-V951-NAME-ADDR-5" type="xsd:string"/>
                                                <xsd:element dfdl:length="32" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                       </xsd:sequence>
                                 </xsd:complexType>
                                       </xsd:element>
                                       <xsd:element dfdl:lengthKind="implicit" name="CTASU">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-REC-TYPE_SU" type="xsd:string"/>
                                                <xsd:element default="CTA" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-REC-TAG_SU" type="xsd:string"/>
                                                <xsd:element name="CTA-REST-DATA_SU">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" name="CTA-V951-CODE-CONT-FUNCT_SU" type="xsd:string"/>
                                                         <xsd:element dfdl:length="17" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-DOE-IDENT_SU" type="xsd:string"/>
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-DOE_SU" type="xsd:string"/>
                                                         <xsd:element dfdl:length="196" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-FILLER-1_SU" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                       <xsd:element dfdl:lengthKind="implicit" name="CTALB">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-REC-TYPE_LB" type="xsd:string"/>
                                                <xsd:element default="CTA" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-REC-TAG_LB" type="xsd:string"/>
                                                <xsd:element name="CTA-REST-DATA_LB">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" name="CTA-V951-CODE-CONT-FUNCT_LB" type="xsd:string"/>
                                                         <xsd:element dfdl:length="17" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-DOE-IDENT_LB" type="xsd:string"/>
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-DOE_LB" type="xsd:string"/>
                                                         <xsd:element dfdl:length="196" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="CTA-V951-FILLER-1" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                       <xsd:element dfdl:lengthKind="implicit" name="NADCN">
                                          <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="NAD" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="NAD-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-PARTY-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-PARTY-IDENT" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-CODE-LIST-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-CODE-LIST-RESP-AG-CDD" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-1" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-2" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-3" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="NAD-V951-NAME-ADDR-4" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-V951-NAME-ADDR-5" type="xsd:string"/>
                                                <xsd:element dfdl:length="32" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="NAD-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                       </xsd:sequence>
                                 </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                     </xsd:element>      
                     <xsd:element dfdl:lengthKind="implicit" dfdl:occursCountKind="implicit" maxOccurs="unbounded" name="LinItems">
                        <xsd:complexType>
                           <xsd:sequence dfdl:separator="">
                              <xsd:element dfdl:lengthKind="implicit" name="LIN">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="LIN-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="LIN" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="LIN-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="LIN-V951-DATA">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="6" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-LINE-ITEM-NO" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-ACT-REQ" type="xsd:string"/>
                                                <xsd:element dfdl:occursCountKind="implicit" minOccurs="0" name="LIN-V951-ITEM-NO-IND">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-ITEM-NO" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-ITEM-NO-TYPE-CDD" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-CODE-LIST-QFR" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-CODE-LIST-RESP-AG-CDD" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-SUB-LINE-IND" type="xsd:string"/>
                                                <xsd:element name="LIN-V951-SUB-LINE-INFO">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="LIN-V951-SUB-LINE-IND-CODE" type="xsd:string"/>
                                                         <xsd:element dfdl:length="6" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="LIN-V951-LINE-ITEM-NO-2" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-CONFIG-LEVEL" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-CONFIG-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-NO-FTX-REC" type="xsd:string"/>
                                                <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-NO-RFFHC-REC" type="xsd:string"/>
                                                <xsd:element dfdl:length="177" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="LIN-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                              <xsd:element dfdl:lengthKind="implicit" name="PIA">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="PIA" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="PIA-V951-DATA">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-PRODT-ID-FUNC-QFR" type="xsd:string"/>
                                                <xsd:element name="PIA-V951-ITM-NO-ID-1">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-1" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-TYPE-CDD-1" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CODE-LIST-QFR-1" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CD-LIST-RESP-AG-CDD-1" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element name="PIA-V951-ITM-NO-ID-2">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-2" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-TYPE-CDD-2" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CODE-LIST-QFR-2" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CD-LIST-RESP-AG-CDD-2" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element name="PIA-V951-ITM-NO-ID-3">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-3" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-TYPE-CDD-3" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CODE-LIST-QFR-3" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CD-LIST-RESP-AG-CDD-3" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element name="PIA-V951-ITM-NO-ID-4">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-4" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-TYPE-CDD-4" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CODE-LIST-QFR-4" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CD-LIST-RESP-AG-CDD-4" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element name="PIA-V951-ITM-NO-ID-5">
                                                   <xsd:complexType>
                                                      <xsd:sequence dfdl:separator="">
                                                         <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-5" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-ITM-NO-TYPE-CDD-5" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CODE-LIST-QFR-5" type="xsd:string"/>
                                                         <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-CD-LIST-RESP-AG-CDD-5" type="xsd:string"/>
                                                      </xsd:sequence>
                                                   </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element dfdl:length="28" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="PIA-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                              <xsd:element dfdl:lengthKind="implicit" name="IMDC13">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="IMD-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="IMD" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="IMD-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="IMD-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-DESC-TYPE-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-CHAR-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="17" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-DESC-ID" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-CODE-LIST-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-CODE-LIST-RESP-AG-CDD" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-DESC-1" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-DESC-2" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-SL-IND-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="149" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-FILLER-1" type="xsd:string"/>
                                             </xsd:sequence>
                                          </xsd:complexType>
                                       </xsd:element>
                                    </xsd:sequence>
                                 </xsd:complexType>
                              </xsd:element>
                              <xsd:element dfdl:lengthKind="implicit" name="IMDC8">
                                 <xsd:complexType>
                                    <xsd:sequence dfdl:separator="">
                                       <xsd:element dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="IMD-REC-TYPE" type="xsd:string"/>
                                       <xsd:element default="IMD" dfdl:length="3" dfdl:lengthKind="explicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" name="IMD-REC-TAG" type="xsd:string"/>
                                       <xsd:element name="IMD-REST">
                                          <xsd:complexType>
                                             <xsd:sequence dfdl:separator="">
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-DESC-TYPE-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-CHAR-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="17" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-DESC-ID" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-CODE-LIST-QFR" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-CODE-LIST-RESP-AG-CDD" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-DESC-1" type="xsd:string"/>
                                                <xsd:element dfdl:length="35" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-ITEM-DESC-2" type="xsd:string"/>
                                                <xsd:element dfdl:length="3" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar" dfdl:textTrimKind="none" minOccurs="0" name="IMD-V951-SL-IND-CODE" type="xsd:string"/>
                                                <xsd:element dfdl:length="149" dfdl:lengthKind="explicit" dfdl:occursCountKind="implicit" dfdl:textPadKind="padChar"


Last edited by edd on Fri Aug 18, 2017 10:25 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 18, 2017 10:20 am    Post subject: Re: DFDL Failing to serialise Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

edd wrote:
Code:
BIP5831E: The DFDL serializer signalled that a processing error occurred.  The message from the DFDL serializer is:  CTDU4010E: Element '#xscd(/schemaElement::MPurchOrds/type::0/model::sequence/schemaElement::MPurchOrd/type::0/model::sequence/schemaElement::Header/type::0/model::sequence/schemaElement::CTAOC/type::0/model::sequence/schemaElement::CTA-REC-TYPE_OC)' has minOccurs '1' but the DFDL infoset has '0' occurrences. This is not allowed when occursCountKind is 'fixed' or 'implicit' or minOccurs is '1' and maxOccurs is '1'.   The element being serialized was:  /DFDL/MPurchOrds/MPurchOrd/Header/CTAOC/CTA-REC-TAG_OC


So does it have 0 occurrences in what you're trying to serialize?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 18, 2017 10:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Even if you had put your model in [ c o d e ] tags, I'm not going to read it.

Too much work.

The error message you posted tells you nearly exactly what the problem is. It mentions min occurrences and the # of occurrences in the message.

So start by reading that message several times until it makes sense.

Or at least look at the element it mentions in your model and then in the logical message tree that's being serialized.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
edd
PostPosted: Fri Aug 18, 2017 10:28 am    Post subject: Reply with quote

Novice

Joined: 18 Aug 2016
Posts: 14

Apologies for the code tags,

In debug mode, the DFDL shows CTAOC occurence with values(added a breakpoint right after the compute node). It is throwing the exception when putting the message in the MQ output node.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 18, 2017 10:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Take a usertrace.

Use a tracenode to show the entire logical message tree.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 18, 2017 10:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

edd wrote:
In debug mode, the DFDL shows CTAOC occurence with values(added a breakpoint right after the compute node). It is throwing the exception when putting the message in the MQ output node.


The one thing the debugger is notoriously bad at is parser problems, because it has to parse the data to display it in the debug window.

Take a user trace, with a Trace node just before the MQOutput, and then tell us there's values there.

Also, the debugger is showing you data in the CTAOC occurrence. Big whoop. The DFDL serializer is complaining about CTA-REC-TAG_OC, a child of CTAOC. Just because you can see character values in the debugger next to CTAOC doesn't prove there are any children to serialize. Indeed, it implies the opposite.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
timber
PostPosted: Fri Aug 18, 2017 11:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Quote:
The one thing the debugger is notoriously bad at is parser problems
Yep. It's a useful tool, but not to be trusted always. Especially note that the debugger does not display the namespaces on the elements.
Quote:
Take a user trace, with a Trace node just before the MQOutput
...whereas this technique takes an hour to learn and is 100% reliable. Use the debugger for initial investigation, fall back to user trace and Trace nodes when the going gets tough.
Back to top
View user's profile Send private message
edd
PostPosted: Sat Aug 19, 2017 5:47 am    Post subject: Reply with quote

Novice

Joined: 18 Aug 2016
Posts: 14

Code:

         (0x01000000:Name):CTAOC = (
            (0x03000000:NameValue):CTA-REC-TAG_OC   = '05' (CHARACTER)
            (0x03000000:NameValue):CTA-REC-TYPE_OC  = 'CTA' (CHARACTER)
            (0x01000000:Name     ):CTA-REST-DATA_OC = (
              (0x03000000:NameValue):CTA-V951-CODE-CONT-FUNCT_OC = 'OC ' (CHARACTER)
              (0x03000000:NameValue):CTA-V951-DOE-IDENT_OC       = '                 ' (CHARACTER)
              (0x03000000:NameValue):CTA-V951-DOE_OC             = '                                   ' (CHARACTER)
              (0x03000000:NameValue):CTA-V951-FILLER-1_OC        = '                                                                                                                                                                                                    ' (CHARACTER)
            )



As suggested, I put up a trace node after the compute node and here is the output. It's assigning the values to the fields. The last three fields are just space strings.
Back to top
View user's profile Send private message
timber
PostPosted: Sat Aug 19, 2017 11:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

The DFDL serializer is telling you exactly what the problem is. You need to believe the error message and find out what you have done wrong.

There are two possible ways to diagnose this:
1. Do as Vitor suggested, and take a user trace. That means running some commands in the IIB console. If you do this, you will get a full DFDL trace in the output, and if you read that carefully you will find the problem.
2. Assume that you have made a mistake, and look again carefully at your message tree and the XSD.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Aug 19, 2017 10:20 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

edd wrote:
Code:

         (0x01000000:Name):CTAOC = (
            (0x03000000:NameValue):CTA-REC-TAG_OC   = '05' (CHARACTER)
            (0x03000000:NameValue):CTA-REC-TYPE_OC  = 'CTA' (CHARACTER)
            (0x01000000:Name     ):CTA-REST-DATA_OC = (
              (0x03000000:NameValue):CTA-V951-CODE-CONT-FUNCT_OC = 'OC ' (CHARACTER)
              (0x03000000:NameValue):CTA-V951-DOE-IDENT_OC       = '                 ' (CHARACTER)
              (0x03000000:NameValue):CTA-V951-DOE_OC             = '                                   ' (CHARACTER)
              (0x03000000:NameValue):CTA-V951-FILLER-1_OC        = '                                                                                                                                                                                                    ' (CHARACTER)
            )



As suggested, I put up a trace node after the compute node and here is the output. It's assigning the values to the fields. The last three fields are just space strings.

Could it be that your tags are just out of order? You did define a sequence did you not?
Should not CTA-REC-TYPE_OC appear before CTA-REC-TAG_OC instead of after according to your model??
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sat Aug 19, 2017 10:25 pm    Post subject: Re: DFDL Failing to serialise Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Vitor wrote:
edd wrote:
Code:
BIP5831E: The DFDL serializer signalled that a processing error occurred.  The message from the DFDL serializer is:  CTDU4010E: Element '#xscd(/schemaElement::MPurchOrds/
  type::0/model::sequence/schemaElement::MPurchOrd/
    type::0/model::sequence/schemaElement::Header/
      type::0/model::sequence/schemaElement::CTAOC/
        type::0/model::sequence/schemaElement::CTA-REC-TYPE_OC)' has minOccurs '1' but the DFDL infoset has '0' occurrences.
 This is not allowed when occursCountKind is 'fixed' or 'implicit' or minOccurs is '1' and maxOccurs is '1'.   
The element being serialized was:  /DFDL/MPurchOrds/MPurchOrd/Header/CTAOC/CTA-REC-TAG_OC


So does it have 0 occurrences in what you're trying to serialize?

Just rearranging to make it more readable...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
edd
PostPosted: Mon Aug 21, 2017 5:43 am    Post subject: Reply with quote

Novice

Joined: 18 Aug 2016
Posts: 14

Thanks Guys,

You were right..going old school to user trace and trace node, helped me resolve it. The last time I used them was when I was working on WMB v6 2 years back.

The problem was the tags were out of order, once carefully re organised, and a few such similar problems, the output was generated.

Lessons learnt!! Not to trust IIB debugger completely....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » DFDL Failing to serialise
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.