Trouble Validating Flatfile Schema

Home Page Forums BizTalk 2004 – BizTalk 2010 Trouble Validating Flatfile Schema

Viewing 1 reply thread
  • Author
    • #14828

      I am building a schema for a Flat File.

      A portion of the Flat File looks like this:

      Value A,,Value B
      Value A,,Value C

      When I set the source of this schema and Validate Instance, I get an XML output that looks like this:
      <A>Value A</A>
      <C>Value C</C>

      I want <B></B> in the XML, missing data or not.

      I also get an error message:
      C:\\Documents and Settings\\nk\\Local Settings\\Temp\\_SchemaData\\Test_Native_output.xml: error BEC2004: The element ‘Detail’ has invalid child element ‘C’. List of possible elements expected: ‘B’.

    • #14827

      Your schema does not seem to match your input data.
      A flat file schema must match the structure of the input flat file. You can change this structure using a map at a later stage.

      The flat file:


      will have a schema

      You should end up with something like this:

      Can you explain a bit more about what you are trying to achieve.

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