Schemas tools can be invoked from the Schema Editor Tools
menu.
Converting Schemas to a W3C compatible schema
Schemas generated in the Microsoft BizTalk-compatible format
(XDR format) may be saved in a format compatible with the
October 2000, W3C XML schema standard. To save a schema in a
W3C format:
- Select Convert to W3C from the Tools menu. The Convert to W3C
dialog box appears.
- Select the schema(s) to be converted. Multiple schemas may
be converted in a single step.
- The name of the W3C schema is the same name as the schema
but with an ".xsd" file extension, and is saved to the same
directory as the original schema.
- Click Convert.
Converting Schemas to a DTD
Schemas generated in the Microsoft BizTalk-compatible format
(XDR format) may be saved as a DTD.
- Select the Convert to DTD option from the Tools menu. The convert
DTD dialog box appears.
- Select the schema(s) to be converted. Note that multiple
schemas may be converted in a single step.
- The name of the W3C schema is the same name as the schema
but with a ".dtd" file extension, and is saved to the same
directory as the original schema.
- Click Convert.
Validating multiple schemas
The schema validation tool can be used to validate the
correctness of an XAI schema when compared to the metainfo xml
definition used to generate the schema. For each validated
schema, the validation tool scans the list of
elements/attributes and compares them with those defined in the
XML metainfo file. Select Validate Schemas in the
Tools menu.
- The Validate Schema dialog box appears.
- The left list box is used to select the directory where
the schemas to be validated are stored. By default this is
the Schema Directory as defined in the preferences.
- On the right, the list of schemas is displayed on a
grid.
- Multiple schemas may be validated in a single step.
- To select a schema click on the left button (the first
column in the row).
- To select multiple schemas, hold the Ctrl key and select
the required schemas.
- Click Validate Schemas.
- The schema grid is updated. When an attribute defined in
the schema is missing from the metainfo file or when the
properties of the element do not match defined in the
metainfo, a button is displayed at the right of the schema
name. Clicking on the edit button loads the schema into the
editor and displays the Schema
Validation Errors
dialog for that schema. You can
correct the schema and save it.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.