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 IndexWebSphere Message Broker SupportBIP5044E: DFDL related deployment error

Post new topicReply to topic
BIP5044E: DFDL related deployment error View previous topic :: View next topic
Author Message
raghuiib
PostPosted: Wed Jun 10, 2020 9:04 am Post subject: BIP5044E: DFDL related deployment error Reply with quote

Novice

Joined: 01 Oct 2018
Posts: 11

Hello,

IIB Toolkit version: 10.0.0.13
IIB runtime on Linux: 100018

I have created two static DFDL libraries:
    Library_1 --> has IBM defined CommaSeparatedFormat.xsd + few csv type message models for my project
    Library_2 --> has IBM defined CommaSeparatedFormat.xsd + few csv type message models for my project

I have three message flow applications.
    Application_1: References Library_1
    Application_2: References Library_2
    Application_3: References both Library_1 and Library_2

BAR files for Application_1 and Application_2 deploy correctly.
For Application_3, I get this error during deployment:

Quote:
BIP5047E: While checking the XML and DFDL schema files that are in the current deployment scope, the file IBMdefined/CommaSeparatedFormat.xsd was found multiple times. Instances of this file were found to have the same path, but different content.


I did file compare of the CommaSeparatedFormat.xsd in the two libraries. They are identical.

Code:
<?xml version="1.0" encoding="UTF-8"?><!-- ******************************************************************
   * Licensed Materials - Property of IBM
   *
   * (C) Copyright IBM Corp. 2011, 2014
   *
   * US Government Users Restricted Rights - Use, duplication, or
   * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
   *
   * Version 1.1    CommaSeparatedFormat.xsd
   *
   * This DFDL schema is supplied by IBM. It provides a set of DFDL property values
   * and other DFDL constructs to assist in the creation of DFDL schemas that model
   * Comma Separated Values data, a delimited text format commonly used as an export
   * format by spreadsheets and databases. 
   *
   * Example use:
   *
   *  <xsd:import namespace="http://www.ibm.com/dfdl/CommaSeparatedFormat" schemaLocation="CommaSeparatedFormat.xsd"/>
   ******************************************************************* --><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ibm.com/dfdl/CommaSeparatedFormat" xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:tns="http://www.ibm.com/dfdl/CommaSeparatedFormat">
   <xsd:annotation>
      <xsd:appinfo source="http://www.ogf.org/dfdl/">

         <dfdl:defineEscapeScheme name="CSVEscapeScheme">
            <dfdl:escapeScheme escapeBlockEnd="&quot;" escapeBlockStart="&quot;" escapeCharacter="&quot;" escapeEscapeCharacter="&quot;" escapeKind="escapeBlock" extraEscapedCharacters="" generateEscapeBlock="whenNeeded">
            </dfdl:escapeScheme>
         </dfdl:defineEscapeScheme>

         <dfdl:defineFormat name="CommaSeparatedFormat">
            <dfdl:format alignment="1" alignmentUnits="bytes" binaryFloatRep="ieee" byteOrder="bigEndian" calendarCenturyStart="53" calendarCheckPolicy="lax" calendarDaysInFirstWeek="4" calendarFirstDayOfWeek="Monday" calendarLanguage="en-US" calendarObserveDST="yes" calendarPattern="yyyy-MM-dd'T'HH:mm:ss" calendarPatternKind="implicit" calendarTimeZone="UTC" choiceLengthKind="implicit" decimalSigned="yes" documentFinalTerminatorCanBeMissing="no" emptyValueDelimiterPolicy="none" encoding="US-ASCII" escapeSchemeRef="tns:CSVEscapeScheme" fillByte="0" floating="no" ignoreCase="no" initiatedContent="no" initiator="" leadingSkip="0" lengthKind="delimited" lengthUnits="characters" nilValueDelimiterPolicy="none" occursCountKind="implicit" outputNewLine="%CR;%LF;" representation="text" separator="|" separatorPosition="infix" separatorSuppressionPolicy="trailingEmpty" sequenceKind="ordered" terminator="" textBidi="no" textBooleanFalseRep="false" textBooleanJustification="left" textBooleanPadCharacter="%SP;" textBooleanTrueRep="true" textCalendarJustification="left" textCalendarPadCharacter="%SP;" textNumberCheckPolicy="lax" textNumberJustification="right" textNumberPadCharacter="%SP;" textNumberRep="standard" textNumberRounding="pattern" textNumberRoundingMode="roundUp" textPadKind="none" textStandardBase="10" textStandardDecimalSeparator="." textStandardExponentRep="E" textStandardGroupingSeparator="," textStandardInfinityRep="Inf" textStandardNaNRep="NaN" textStandardZeroRep="" textStringJustification="left" textStringPadCharacter="%SP;" textTrimKind="padChar" textZonedSignStyle="asciiStandard" trailingSkip="0" truncateSpecifiedLengthString="no">
            </dfdl:format>
         </dfdl:defineFormat>
         
         
      </xsd:appinfo>
   </xsd:annotation>
</xsd:schema>


I am missing something in my code/configuration. Can someone help me resolve this error?

Thanks.
Back to top
View user's profile Send private message
raghuiib
PostPosted: Wed Jun 10, 2020 10:23 am Post subject: Reply with quote

Novice

Joined: 01 Oct 2018
Posts: 11

I found the cause. Application_3 referenced Library_X whose CommaSeparatedFormat.xsd was a bit different. Deployment was successful after I removed this Library_X from Application_3 project references.

Just curios on what the correct practice is if I have to add Library_X to Application_3 ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 11, 2020 4:52 am Post subject: Reply with quote

Grand High Poobah

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

raghuiib wrote:
I found the cause. Application_3 referenced Library_X whose CommaSeparatedFormat.xsd was a bit different. Deployment was successful after I removed this Library_X from Application_3 project references.

Just curios on what the correct practice is if I have to add Library_X to Application_3 ?

Don't touch the IBM format. Add your own format referencing the IBM format and apply overriding changes in your own format.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
raghuiib
PostPosted: Thu Jun 11, 2020 5:21 am Post subject: Reply with quote

Novice

Joined: 01 Oct 2018
Posts: 11

@fjb_saper, Thank you.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportBIP5044E: DFDL related deployment error
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.