NULLs in Flat File

Home Page Forums BizTalk 2004 – BizTalk 2010 NULLs in Flat File

Viewing 1 reply thread
  • Author
    • #14703

      In BizTalk 2006 and Visual Studio, I am validating an instance of a schema.
      It generates an error on the first line with:

      error BEC2004: ‘.’, hexadecimal value 0x00, is an invalid character. Line 1,
      position 139.

      In opening the file up I see that there are multiple NULLs and the line is
      delimited with a Line Feed after the NULLs.

      How do I modify the schema to eliminate this error? I do not have the option
      of modifying the input file.

      • #14704

        The records in the schema are Positional. In the flat file there are NULL characters. Since the schema record is Positional, it will read in the characters defined in the schema positions.

        This schema is migrated from BizTalk 2002. In BizTalk 2002, no error is generated by the NULL characters.

        How do I modify this schema to not generate errors?

    • #14702

      Sorry, I’m a little slow today. What do you mean multiple NULLs? You mean multiple blank lines?

      I think in any case you’ll just to build your schema to support it. In worse case, build a custom pipeline to strip them out.

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