flatfile escape character problem

Home Page Forums BizTalk 2004 – BizTalk 2010 flatfile escape character problem

Viewing 1 reply thread
  • Author
    Posts
    • #17388

      I'm having a "; delimited" flatfile with multiple entrys (delimited by EOL)

      Now I want to tell the schema that the last Value might miss together with the ";" … Has anyone an idea how to do this? 

    • #17391

      Good Morning Anonymous,

      You can't do this nicely.

      What you will need is two records

      – one having structure WITH last field and delimiter

      – the other having structure WITHOUT last field and delimiter

      Make each optional. This way if it is not one, it is the other and the definition will have necessary structure to allow parse.

      This would allow parse of the file, but problem is this would be a nightmare to map from. You could add another map to consolidate the forked record back to one single record.

      Another solution is to preprocess and modify the file and add the missing delimiter when appropriate.

      – weak architect
       

       

       

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.