1) Element '' is unexpected according to content model of parent element ''
Reason: Attribute details are missing in template.xsn file and XML data file has the following details.
1) Download the XSN file from Form Library and change extension .xsn to .cab
2) Add element details (Attribute Name) entry on
1) Download the template.xsn
2) Download the error xml file from Form Library.
3) Open xml file through Infopath Designer
4) Click on ‘Data’ Tab – Refresh Fields
5) Publish back to the form library