Allow early termination problem

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Allow early termination problem

Viewing 1 reply thread
  • Author
    Posts
    • #22576

      I have a positional flat file with multiple optional fields on the end of each row.

      ex schema (with option allow early termination):

      ROOT (delimited by 0x0D 0x0A)

      ROOTLine (positional)

      field1 (length = 1)

      field2 (length = 2, optional minoccurs set to 0)

      field3 (length = 3, optional minoccurs set to 0)

       

      folowing FF gets correctly validated:

      ABBCCC

      ABB

      ABBCCC

      AB

      when a field in the middle of the file doesn’t have its full length:

      ABBCCC

      AB

      ABBCCC

      the xml results into:

      <Root>

      <RootLine><field1>A</field1><field2>BB</field2><field3>CCC</field3></RootLine>

      <RootLine><field1>A</field1><field2>B</field2><field3>ABBCCC</field3></RootLine>

      <Root>

      Which is wrong because i expect a new RootLine because i have 0x0D 0x0A delimiter.

      Does anyone know the solution?

       

       

    • #22578

      early termitation only seems to work when the last node of a record is cut off.

      It gives a problem when the last node is optional and the node before the last node is cut off.

      Then BizTalk does a strange thing and places all the characters of the next line in de last node.

      help ! [:D]

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