Element is unexpected according to content model of parent element in Infopath
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.
Solution 1:
1) Download the XSN file from
Form Library and change extension .xsn to .cab
2) Add element details (Attribute
Name) entry on
a.
template.xml
b.
schema.xsd
c.
myschema.xsd
Solution 2:
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
0 comments