|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
DFDL Parser error while deploying. |
« View previous topic :: View next topic » |
Author |
Message
|
Accell |
Posted: Mon Jun 15, 2015 5:29 am Post subject: DFDL Parser error while deploying. |
|
|
Novice
Joined: 07 Feb 2015 Posts: 24
|
Hi,
I am getting following error while deploying the application.Could anyone please help me identifying the error?
BIP5837E: The DFDL validator signalled that an error occurred while validating a DFDL schema. The file being processed was TelematicsBGL.xsd in application RAC_IH_Telematics_BGL. The message from the DFDL validator is: CTDM2201E : DFDL property is not expected. Property 'dfdl:separatorSuppressionPolicy', object '#xscd(/schemaElement::Telematics_BGL/type::0/model::sequence/schemaElement::DataRows/type::0/model::sequence)'.
Code: |
xsd:
<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:csv="http://www.ibm.com/dfdl/CommaSeparatedFormat" xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" xmlns:ibmDfdlExtn="http://www.ibm.com/dfdl/extensions" xmlns:ibmSchExtn="http://www.ibm.com/schema/extensions" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.ibm.com/dfdl/CommaSeparatedFormat" schemaLocation="IBMdefined/CommaSeparatedFormat.xsd"/>
<xsd:annotation>
<xsd:appinfo source="http://www.ogf.org/dfdl/">
<dfdl:format documentFinalTerminatorCanBeMissing="yes" encoding="{$dfdl:encoding}" escapeSchemeRef="csv:CSVEscapeScheme" ref="csv:CommaSeparatedFormat"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:element ibmSchExtn:docRoot="true" name="Telematics_BGL">
<xsd:complexType>
<xsd:sequence dfdl:separator="">
<xsd:element dfdl:terminator="%CR;%WSP*;" name="HeaderRow">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="FileBeginningIndicator" type="xsd:string"/>
<xsd:element name="PartyOriginatingFile" type="xsd:string"/>
<xsd:element name="PartyReceivingFile" type="xsd:string"/>
<xsd:element name="TypeOfFile" type="xsd:string"/>
<xsd:element name="FileSequenceNumber" type="xsd:string"/>
<xsd:element name="RangeBeginning" type="xsd:string"/>
<xsd:element name="RangeEnd" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty001" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty002" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty003" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty004" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty005" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty006" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty007" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty008" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty009" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty010" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty011" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty012" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty013" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty014" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty015" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty016" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty017" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty018" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty019" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty020" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty021" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty022" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty023" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty024" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty025" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty026" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty027" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty028" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty029" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty030" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty031" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty032" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty033" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty034" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty035" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty036" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty037" type="xsd:string"/>
<xsd:element dfdl:representation="text" minOccurs="0" name="Empty038" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element dfdl:terminator="%CR;%WSP*;" name="FieldsRow">
<xsd:complexType>
<xsd:sequence>
<xsd:element default="Type" name="Type" type="xsd:string"/>
<xsd:element default="PolicyRef" name="PolicyRef" type="xsd:string"/>
<xsd:element default="InsuranceCompany" name="InsuranceCompany" type="xsd:string"/>
<xsd:element default="InsuranceProduct" name="InsuranceProduct" type="xsd:string"/>
<xsd:element default="OldPolicyRef" name="OldPolicyRef" type="xsd:string"/>
<xsd:element default="OldInsuranceCompany" name="OldInsuranceCompany" type="xsd:string"/>
<xsd:element default="OldScheme" name="OldScheme" type="xsd:string"/>
<xsd:element default="Title" name="Title" type="xsd:string"/>
<xsd:element default="Surname" name="Surname" type="xsd:string"/>
<xsd:element default="FirstName" name="FirstName" type="xsd:string"/>
<xsd:element default="AnnualMileage" name="AnnualMileage" type="xsd:string"/>
<xsd:element default="Culture" name="Culture" type="xsd:string"/>
<xsd:element default="DateOfBirth" name="DateOfBirth" type="xsd:string"/>
<xsd:element default="EmailAddress" name="EmailAddress" type="xsd:string"/>
<xsd:element default="TransactionDate" name="TransactionDate" type="xsd:string"/>
<xsd:element default="InceptionDate" name="InceptionDate" type="xsd:string"/>
<xsd:element default="PolicyEndDate" name="PolicyEndDate" type="xsd:string"/>
<xsd:element default="HomeTelephone" name="HomeTelephone" type="xsd:string"/>
<xsd:element default="WorkTelephone" name="WorkTelephone" type="xsd:string"/>
<xsd:element default="ContactTelephone" name="ContactTelephone" type="xsd:string"/>
<xsd:element default="LicencePassDate" name="LicencePassDate" type="xsd:string"/>
<xsd:element default="OutOfHours" name="OutOfHours" type="xsd:string"/>
<xsd:element default="ParentPolicyRef" name="ParentPolicyRef" type="xsd:string"/>
<xsd:element default="ParentInsuranceCompany" name="ParentInsuranceCompany" type="xsd:string"/>
<xsd:element default="ParentInsuranceProduct" name="ParentInsuranceProduct" type="xsd:string"/>
<xsd:element default="ParentName" name="ParentName" type="xsd:string"/>
<xsd:element default="ParentalControls" name="ParentalControls" type="xsd:string"/>
<xsd:element default="AddressLine1" name="AddressLine1" type="xsd:string"/>
<xsd:element default="AddressLine2" name="AddressLine2" type="xsd:string"/>
<xsd:element default="AddressLine3" name="AddressLine3" type="xsd:string"/>
<xsd:element default="AddressLine4" name="AddressLine4" type="xsd:string"/>
<xsd:element default="AddressLine5" name="AddressLine5" type="xsd:string"/>
<xsd:element default="PostCode" name="PostCode" type="xsd:string"/>
<xsd:element default="RegistrationNumber" name="RegistrationNumber" type="xsd:string"/>
<xsd:element default="TheftTracking" name="TheftTracking" type="xsd:string"/>
<xsd:element default="Timezone" name="Timezone" type="xsd:string"/>
<xsd:element default="VehicleColour" name="VehicleColour" type="xsd:string"/>
<xsd:element default="VehicleMake" name="VehicleMake" type="xsd:string"/>
<xsd:element default="VehicleModel" name="VehicleModel" type="xsd:string"/>
<xsd:element default="FittingType" name="FittingType" type="xsd:string"/>
<xsd:element default="StoreNumber" name="StoreNumber" type="xsd:string"/>
<xsd:element default="PreferedInstallDate" minOccurs="0" name="PreferedInstallDate" type="xsd:string"/>
<xsd:element default="Breakdown" name="Breakdown" type="xsd:string"/>
<xsd:element default="BreakdownLevel" name="BreakdownLevel" type="xsd:string"/>
<xsd:element default="UseCode" dfdl:representation="text" name="UseCode" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element dfdl:terminator="%CR;%WSP*;" maxOccurs="unbounded" minOccurs="0" name="DataRows">
<xsd:complexType>
<xsd:sequence dfdl:separatorSuppressionPolicy="trailingEmpty">
<xsd:element ibmDfdlExtn:sampleValue="value1" name="Type" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value2" name="PolicyRef" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value3" name="InsuranceCompany" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value4" name="InsuranceProduct" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value5" minOccurs="0" name="OldPolicyRef" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value6" minOccurs="0" name="OldInsuranceCompany" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value7" minOccurs="0" name="OldScheme" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value8" name="Title" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value9" name="Surname" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value10" name="FirstName" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value11" name="AnnualMileage" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value12" name="Culture" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value13" name="DateOfBirth" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value14" name="EmailAddress" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value15" name="TransactionDate" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value16" name="InceptionDate" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value17" name="PolicyEndDate" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value18" minOccurs="0" name="HomeTelephone" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value19" minOccurs="0" name="WorkTelephone" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value20" minOccurs="0" name="ContactTelephone" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value21" name="LicencePassDate" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value22" minOccurs="0" name="OutOfHours" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value23" minOccurs="0" name="ParentPolicyRef" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value24" minOccurs="0" name="ParentInsuranceCompany" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value25" minOccurs="0" name="ParentInsuranceProduct" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value26" minOccurs="0" name="ParentName" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value27" minOccurs="0" name="ParentalControls" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value28" name="AddressLine1" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value29" name="AddressLine2" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value30" minOccurs="0" name="AddressLine3" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value31" minOccurs="0" name="AddressLine4" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value32" minOccurs="0" name="AddressLine5" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value33" name="PostCode" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value34" name="RegistrationNumber" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value35" minOccurs="0" name="TheftTracking" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value36" name="Timezone" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value37" minOccurs="0" name="VehicleColour" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value38" name="VehicleMake" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value39" name="VehicleModel" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value40" minOccurs="0" name="FittingType" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value41" minOccurs="0" name="StoreNumber" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value42" minOccurs="0" name="PreferedInstallDate" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value43" name="Breakdown" type="xsd:string"/>
<xsd:element ibmDfdlExtn:sampleValue="value44" minOccurs="0" name="BreakdownLevel" type="xsd:string"/>
<xsd:element dfdl:representation="text" ibmDfdlExtn:sampleValue="value45" minOccurs="0" name="UseCode" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element dfdl:terminator="%CR;%WSP*;" name="TailRow">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="FileEndingIndicator" type="xsd:string"/>
<xsd:element name="TypeOfFile" type="xsd:string"/>
<xsd:element name="FileSequenceNumber" type="xsd:string"/>
<xsd:element name="FileRecordNumber" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty001" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty002" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty003" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty004" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty005" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty006" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty007" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty008" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty009" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty010" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty011" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty012" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty013" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty014" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty015" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty016" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty017" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty018" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty019" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty020" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty021" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty022" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty023" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty024" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty025" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty026" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty027" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty028" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty029" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty030" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty031" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty032" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty033" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty034" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty035" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty036" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty037" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty038" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty039" type="xsd:string"/>
<xsd:element minOccurs="0" name="Empty040" type="xsd:string"/>
<xsd:element dfdl:representation="text" minOccurs="0" name="Empty041" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema> |
|
|
Back to top |
|
 |
kimbert |
Posted: Mon Jun 15, 2015 10:40 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
I think you have created a DFDL schema using an IIBv9 toolkit and you are attempting to deploy it to a WMBv8 runtime. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
Accell |
Posted: Mon Jun 15, 2015 10:47 am Post subject: |
|
|
Novice
Joined: 07 Feb 2015 Posts: 24
|
Hi Kimbert,
Yes, your observation is correct,could you please suggest a way to modify the same or do i need to start over with WMB 8 ? |
|
Back to top |
|
 |
kimbert |
Posted: Mon Jun 15, 2015 11:26 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
I believe the property was called 'separatorPolicy' in v8. You *may* be able to fix this by changing all occurrences of 'separatorSuppressionPolicy' to 'separatorPolicy'. Depending on how big your schema is, and how good your test coverage is, that might be worth a try. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
Accell |
Posted: Tue Jun 16, 2015 2:55 am Post subject: |
|
|
Novice
Joined: 07 Feb 2015 Posts: 24
|
Hi ,
Thanks for a quick response.
However while trying the same it results in following error:
Quote: |
DFDL property value is not valid.
Property 'separatorPolicy', value 'trailingEmpty', object '#xscd(/schemaElement::Telematics_BGL/type::0/model::sequence/schemaElement::DataRows/type::0/model::sequence)'.
Errors have occurred during the validation of a DFDL schema.
Review and resolve the problems that are indicated in the message from the DFDL validator.
|
Do i need to make some other changes?
Meanwhile will try it again using WMB8  |
|
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
|
|
|
|