IBM Database Add-Ins for Visual Studio  

Test Form  (DB2)

Use the Test Form window to test an annotated XML schema against an XML document. The test runs the DB2 decomposition stored procedure named SYSPROC.XDBDECOMPXML, which uses the annotated XML schema to extract data from an XML document that you specify.

In addition to running SYSPROC.XDBDECOMPXML, the test process can validate the XML document against the annotated XML schema.

To open the Test Form window:


Input XML file
Shows the name of the XML document to use to test the annotated XML schema. Click Ellipsis button to browse to and select the XML document that you want to use.
XML file source
Shows the contents of XML file whose name is displayed in the Input XML file field.
Validation
If this value is True, the XML document is validated against the annotated XML schema during testing.
Commit after execution
If this value is True and if the test is error-free, the mapped data in the XML document is committed to the database when the test is completed.
Result
Shows a message that indicates whether the test was successful. If the test is not successful, a message that describes the error condition is displayed in the IBM Output Message Pane.

See Also

Annotated XML Schema, Designer | Testing Annotated XML Schemas | Saving Annotated XML Schemas


.NET Development Forum   DB2 FAQs

© Copyright IBM Corporation 2002, 2019. All Rights Reserved.