![]() |
| Previous Top Next |
Extended Validation |
XMLSpy, in conjunction with SchemaAgent, allows you to validate not only the currently active schema but also schemas related to the currently active schema. There are two types of related schemas that SchemaAgent distinguishes for extended validation: (i) directly referenced schemas, and (ii) referenced schemas.
How to carry out extended validation is demonstrated below by means of an example. This example assumes that the schema file address.xsd is the active schema in Schema/WSDL View of XMLSpy. You would then do the following:
| 1. | Click the Extended Validation icon |

| 2. | To insert schemas into the list, click the Show Directly Referenced or Show All Referenced button as required. In this example, we have clicked the Show All Referenced button, and this inserts all referenced files into the list. |

At this point, you can remove a schema from the list (Remove from List).
| 3. | Click the Validate button to validate all the schemas in the list box. |

The Validate column displays whether the validation was successful or whether it failed.
You can now open the schemas that failed validation or a set of selected schemas in XMLSpy.
|