Talk About Network

Google





Software > Biz Talk NonXML > Re: Extra CRLFs...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 949 of 978
Post > Topic >>

Re: Extra CRLFs in flat file

by Jan Eliasen <eliasen@[EMAIL PROTECTED] > Aug 1, 2007 at 09:05 PM

On Wed, 25 Jul 2007 14:39:40 -0000, BizEd <EdMathias18@[EMAIL PROTECTED]
>
wrote:

>I've got a supplier who is sending 2 additional crlfs on the end of
>the flat file.  It causes my formerly-working-perfectly adapter to
>error out with "unexpected end of stream while looking for positional
>data".  Here's an example
>
>xxxxxxxxxxxxx positional data xxxxxxxxxxx<crlf>
>xxxxxxxxxxxxx positional data xxxxxxxxxxx<crlf>
><crlf>
><crlf>
><EOF>
>
>I'm using a positional flat file schema in a receive pipeline.
>
>Anyone know how I can get the flat file adapter to ignore those last
>two crlfs?
First of all, it isn't the adapter that need to ignore anything. It is
the flat file disassembler inside the receive pipeline.

>I have tried specifying (at the schema level) a postfix child
>delimiter of hex 0x0d 0x0a 0x0d 0x0a, hoping that it will catch the
>two crlfs at the end and succesfully terminate the processing.  It
>still gives me the same error.  Has anybody ran across this?
Anyway, I'd go with this option, and am a bit surprised it doesn't
work. Perhaps add a couple of empty records at the end instead?

-- 
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: jan@[EMAIL PROTECTED]

 




 2 Posts in Topic:
Extra CRLFs in flat file
BizEd <EdMathias18@[EM  2007-07-25 14:39:40 
Re: Extra CRLFs in flat file
Jan Eliasen <eliasen@[  2007-08-01 21:05:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 1:41:45 PST 2009.