This chapter provides an overview of the testing document schema, lists prerequisites, and discusses how to:
Access the Document Schema Tester utility.
Test XML 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.
To use the Document Schema Tester utility and test document schema, the following items must exist:
A document schema against which to test a document.
An XML document to test against a schema.
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:
To test XML document schema:
Access the Document Schema Tester page (PeopleTools, Documents, Document Utilities, Document Schema Tester).
Select the document against which to test the schema:
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.
In the Document field, enter the name of the document or click the Lookup button to search for the name.
In the Version field, enter the document version or click the Lookup button to search for the version.
From the File Encoding drop-down list box, select the file encoding of the XML schema you are loading. The options are:
Non-Unicode.
UTF-8. (Default.)
UTF-16.
Load the XML document schema to test against the document. Use one of the following options:
To load an XML document schema from file, click the Load XML from File button. The File Attachment dialog box appears. Click the Browse button to locate the XML document schema to upload and click the Upload button.
To load an XML document schema manually, enter the XML schema in the XML Input field.
Click the Validate button.
The results of the test appear in the Results area of the page.