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 PArsing errors

Post new topic  Reply to topic
 DFDL PArsing errors « View previous topic :: View next topic » 
Author Message
soudhanya
PostPosted: Wed Jun 05, 2019 12:44 pm    Post subject: DFDL PArsing errors Reply with quote

Novice

Joined: 27 Feb 2017
Posts: 20

Hi ,

I have commaseparated message model but im receiving special characters like (>250°C) oil (100 µL/L) this and it failing with DFDL parsing errors. Please help.

Thanks..
Back to top
View user's profile Send private message Send e-mail
soudhanya
PostPosted: Wed Jun 05, 2019 12:50 pm    Post subject: Reply with quote

Novice

Joined: 27 Feb 2017
Posts: 20

This is my code
Code:

<xsd:element dfdl:encoding="UTF-8" dfdl:ref="tns:CommaSeparatedFormat" ibmSchExtn:docRoot="true" name="DGA">
    <xsd:complexType>
      <xsd:sequence dfdl:ref="tns:CommaSeparatedFormat">
                        <xsd:annotation>
          <xsd:appinfo source="http://www.ogf.org/dfdl/">
            <dfdl:sequence/>
          </xsd:appinfo>
        </xsd:annotation>
                 <xsd:element dfdl:ref="tns:CommaSeparatedFormat" dfdl:representation="text" minOccurs="0" name="field1" type="xsd:string"/>
                 <xsd:element dfdl:ref="tns:CommaSeparatedFormat" dfdl:representation="text" minOccurs="0" name="field2" type="xsd:string"/>
               
            </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
    <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=", %#x0D; %#x0A;" generateEscapeBlock="whenNeeded">
            </dfdl:escapeScheme>
         </dfdl:defineEscapeScheme>

         <dfdl:defineFormat name="CommaSeparatedFormat">
            <dfdl:format alignment="1" alignmentUnits="bytes" binaryFloatRep="ieee" byteOrder="{$dfdl:byteOrder}" 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>
         
         
      <dfdl:format alignment="1" alignmentUnits="bytes" byteOrder="bigEndian" encoding="UTF-8" fillByte="1" ignoreCase="yes" initiatedContent="no" representation="text" sequenceKind="ordered"/>
    </xsd:appinfo>
   </xsd:annotation>
</xsd:schema>
Back to top
View user's profile Send private message Send e-mail
timber
PostPosted: Wed Jun 05, 2019 12:57 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Do you work with aboody? Quite a coincidence to get two posts about DFDL and encodings on the same page of this forum!

Before I respond:
1. Please put your code in [code] tags. We prefer your problem statement to be presented in a readable way.
2. Please quote the error message, in full.
3. Please list the steps that you have already taken to diagnose this - or else listen while I tell you to do things that you already did!
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 PArsing errors
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.