Posted: Thu May 01, 2008 5:27 am Post subject: Blank Lines in TDS
Apprentice
Joined: 06 Dec 2007 Posts: 27
I have an incoming messages which looks like this:
LINE1
LINE2
LINE3
LINE4
...
LINE(N)
etc.,
I designed the messags as TDS
TOP element {ComplexType- orderedset/closed } with AllElementsDelimited and the Delimiter as <LF> and the {ComplexType} contains only one local String Element
This was working fine until I found some of the applications are sending more BlankLine/s in between the message. This results in choping of output message only up to the first blank line
e.g. (Input)
LINE1
LINE2
LINE3
BLANKLINE
BLANKLINE
LINE4
Output
LINE1
LINE2
LINE3
Rest is not parsed. Since the parsing is done @ the MQInputNode, I am unable to see any Exceptions also. How can I design a message set that takes care of the blank lines.
BTW, I am using WMB 6.1 and also I tried selecting nillable etc., it doesn't help. Any inputs appreciated.
As they say its all in the manuals. After going through the "Delimiter suppression and Truncation Rules" I modified the Supperss Absent Element Delimiters to Never, it took care of blank line/s.
Thanks on the 'Immediate' setting for catching exception happening during parsing in InputNodes.
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