Invalid child element

Home Page Forums BizTalk 2004 – BizTalk 2010 Invalid child element

Viewing 2 reply threads
  • Author
    Posts
    • #16053

      Hello there..

      I have created a mapping between two schemas. When I am testing the map, it is giving the following errors:

      'Output validation error: The element '…<ElementName1>…' has invalid child element '…<ElementName2>…' . Expected '…<ElementName3>…'.

      Output validation error: The element '…<ElementName1>…' has incomplete content. Expected '…<ElementName2>…'.

      Can any one of the BizTalk Gurus out there please help? 🙂

      Thanks.

      Hemant.

    • #16064

      Hemant,

      Is your schema is flat file schema?

      It looks to me you have tag identifier issue,

      before doing mapping make sure your schema is right(i.e validate with sameple). 

      Thanks

      Nar-

       

       

    • #16148

      Well, I have found out a solution to this problem. When the elements are getting mapped, sometimes there is no data in the source element to feed in the destination element, in case the source element is a blank one. In such cases just try seting the minoccurs property of the destination element which is creating the error to ' 0 ' and its maxoccurs to ' unbounded' or ' 1'. Check this!!

      Hemant

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