BUG: Signatures in the InfoPath 2003 form template are not valid after you add a new signed section to the form template in InfoPath 2003 Service Pack 1 (889492)



The information in this article applies to:

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

SYMPTOMS

Signatures in the Microsoft Office InfoPath 2003 form template are not valid after you add a new signed section to the form template. The new signed section includes digital signatures. This problem occurs in InfoPath 2003 Service Pack 1.

CAUSE

This problem occurs because the Versionupgrade.xsl file that is generated does not preserve white spaces. InfoPath 2003 requires that white spaces are preserved so that the data can be verified.

RESOLUTION

Microsoft regularly releases software updates to address specific problems. If Microsoft releases a software update to resolve this problem, this article will be updated with additional information.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the problem

Note The following steps apply to InfoPath 2003 Service Pack 1.

Create the test file

  1. Start InfoPath 2003.
  2. Click File, click Design a Form, and then click New Blank Form in the task pane.
  3. In the task pane, click Controls, click inside Repeating and Optional, and then click the Repeating section.
  4. In the task pane, click Standard, and then add a text box to the Repeating section.
  5. Click the Tools menu, and then click Form Options.
  6. In the Form Options dialog box, click the Digital Signatures tab, click Enable digital signatures for specific data in the form, and then click Add.
  7. In the Set of Signable Data dialog box, type test1 in the Type a name for the data that can be signed box.
  8. In the Set of Signable Data dialog box, click Select XPath in the Fields and groups to be signed box.
  9. In the Select a Field or Group dialog box, click group1, and then click OK.

    Note You can see that "/my:myFields/my:group1" appears in the Fields and groups to be signed box.
  10. In the Set of Signable Data dialog box, click OK.
  11. In the Form Options dialog box, click OK.
  12. Click File, click Save, and then click Save in the Microsoft Office InfoPath dialog box.
  13. In the Save As dialog box, type signature, and then click Save.
  14. Click File, and then click Close.

Add the signature

  1. Click File, click Fill Out a Form. In the Fill Out a Form dialog box, click Open, click Signature.xsn, and then click Open.
  2. Type test in the text box, click the Repeating section, click Tools, and then click Digital Signatures.
  3. In the Digital Signatures dialog box, click Add, click Next, click your certificate, click Next, and then click Finish.
  4. In the Digital Signature Wizard, click I have verified the content before signing, click Sign, and then click Close.
  5. In the Digital Signatures dialog box, click Close.
  6. Click File, click Save, type signature, click Save.
  7. Click File, and then click Close.

Add a new signature

  1. Click File, click Open in Design Mode, click Signature.xsn, and then click Open.
  2. Click under the Repeating section. In the task pane, click Controls. In Repeating and Optional controls, click the Repeating section.
  3. In the task pane, add a text box to the Repeating section under the Standard controls section.

    The Repeating section was added in step 2 of this section.
  4. Click Tools, and then click Form Options.
  5. In the Form Options dialog box, click the Digital Signatures tab, and then click Add.
  6. In the Set of Signable Data dialog box, type test2 in the Type a name for the data that can be signed box.
  7. In the Set of Signable Data dialog box, click Select XPath in the Fields and groups to be signed box.
  8. In the Select a Field or Group dialog box, click group3, and then click OK.

    Note You can see that "/my:myFields/my:group3" appears in the Fields and groups to be signed box.
  9. In the Set of Signable Data dialog box, click OK.
  10. In the Form Options dialog box, click OK.
  11. Click File, and then click Save.
  12. In the Microsoft Office InfoPath dialog box, click Overwrite, click File, and then click Close.

Test the signatures

Click File, click Fill Out a Form, click Signature, and then click Fill Out this Form.

Note There is no signature for the first signed section. Additionally, there are no digital signatures in the Digital Signatures dialog box.

Note There are no digital signatures when you reopen the XSN. Additionally, the digital signatures on any forms that are saved from the original XSN are not valid.

Modification Type:MajorLast Reviewed:2/3/2005
Keywords:kbsavefile kbtshoot kbbug KB889492 kbAudDeveloper