You may receive a "The form contains schema validation errors" error message when you convert the main data source of a solution to a new schema in InfoPath 2003 Service Pack 1 (870844)



The information in this article applies to:

  • Microsoft Office InfoPath 2003, Service Pack 1 (SP1)

SYMPTOMS

In Microsoft Office InfoPath 2003 Service Pack 1 (SP1), when you convert the main data source of a solution to a new schema, your form may not open. Additionally, you may receive the following error message:
InfoPath cannot open the following file: FileName.xml.
The form contains schema validation errors.

CAUSE

This problem occurs because the Convert Main Data Source command makes changes to the XML schema of the form. The Convert Main Data Source command also turns off the Automatically upgrade existing forms option. This option is located on the Tools menu under Form Option.

The Convert Main Data Source command turns off the Automatically upgrade existing forms option because InfoPath 2003 cannot create an automatic map between the old schema and the new schema.

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:11/15/2004
Keywords:kbXML kbtshoot kbbug KB870844 kbAudDeveloper