Testing Document Schema

This chapter provides an overview of the testing document schema, lists prerequisites, and discusses how to:

Click to jump to parent topicUnderstanding Testing Document Schema

PeopleSoft provides a Document Schema Tester utility that enables you to test and validate XML document schema generated by the Document Builder.

The Document Schema Tester utility enables you to validate XML documents against document schemas during development to determine if documents adhere to defined document schemas.

Click to jump to parent topicPrerequisites for Testing Document Schema

To use the Document Schema Tester utility and test document schema, the following items must exist:

Click to jump to parent topicAccess the Document Schema Tester Utility

The Document Schema Tester utility is located in the Document Schema Tester component (IB_DOCSCHEMATESTER).

To access the Document Schema Tester page (IB_DOCSCHEMATESTER), select PeopleTools, Documents, Document Utilities, Document Schema Tester.

The following example shows the Document Schema Tester page:

Click to jump to parent topicTesting XML Document Schema

To test XML document schema:

  1. Access the Document Schema Tester page (PeopleTools, Documents, Document Utilities, Document Schema Tester).

  2. Select the document against which to test the schema:

    1. In the Package field, enter the name of the package to which the document belongs or click the Lookup button to search for the name.

    2. In the Document field, enter the name of the document or click the Lookup button to search for the name.

    3. In the Version field, enter the document version or click the Lookup button to search for the version.

  3. From the File Encoding drop-down list box, select the file encoding of the XML schema you are loading. The options are:

  4. Load the XML document schema to test against the document. Use one of the following options:

  5. Click the Validate button.

The results of the test appear in the Results area of the page.