Output validation error: The root element is missing

Home Page Forums BizTalk 2004 – BizTalk 2010 Output validation error: The root element is missing

Viewing 1 reply thread
  • Author
    Posts
    • #13091

      Hi,

      My source schema is having a default namespace and all the nodes belong to that namespace. eg: xmlns=\”http://mynamespace\”. I mapped this source to a destination schema and while validating my instance message, I am getting the error
      \”Output validation error: The root element is missing \”. This will be solved if I am modifying my instance message as xmlns:ns0=\”http://mynamespace\” and prefix all the nodes with ns0. Can anyone suggest a solution for this other than modifying the file?

      Thanks in advance.

      Deepa

    • #13090

      This should work with or without the namespace prefix

      <root xmlns=\”namespace\”>
      <record>
      <child/>
      </record>
      </root>

      is the same as
      <ns0:root xmlns:ns0=\”namespace\”>
      <ns0:record>
      <ns0:child/>
      </ns0:record>
      </ns0:root>

      Can you email me your schemas, map and examples of input messages both before and after you modify them.

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