# README

### ValidatePDUTM
Version 1.0

> Thank you for downloading this release of the ValidatePDU tool Version 1.0. The ValidatePDU version 1.0 tool is designed to validate XML wrapped Protocol Data Unit(PDU) messages against a schema file that was created from ASN.1 contained in IEEE 1073 standards documents.

> ValidatePDU 1.0 uses Java and XML Technologies. The following software is required:
> - Java 2 SDK (Version 1.4.2 or later)
> - Download XMLBeans (Version 2.1.0)

First unzip the VALIDATEPDU-1.0.ZIP file. This should create the following directories and files:

- c:/x73-Tool/src/ - contains the java source code
- c:/x73-Tool/xml/ - contains test XML instance files created from the MDCIG IEEE 1073 Baseline Profile Demonstration Project Messaging Specification Document.
- c:/x73-Tool/Readme.html - this file.
- c:/x73-Tool/Modified_X73-FINAL.xsd - XML Schema file created from ASN.1 in IEEE 1073 standards.
- c:/x73-Tool/x73-Tool-020406.jar - JAR file containing compiled schema Java types.

Unzip the xmlbeans-2.1.0.ZIP file.

- Add the following files c:/x73-Tool/x73-Tool-020406.jar, c:/xmlbeans-2.1.0/lib/jsr173_1.0_api.jar, c:/xmlbeans-2.1.0/lib/xbean.jar and c:/xmlbeans-2.1.0/lib/xbean_xpath.jar to your CLASSPATH.

Change to ValidatePDU source directory

- cd C:/x73-Tool/src

Compile and execute the ValidatePDU Tool using the following two commands:

- javac *.java
- java ValidatePDUManagementView

The ValidatePDU screen should pop up.

> The ValidatePDU tool can be used to validate XML wrapped PDU messages against an XML Schema file created from the ASN.1 in the IEEE 1073 standard documents. The ValidatePDU tool will do a syntax and structure test of the XML instance file.

> Select:

> "Load"A list of XML files will appear. Highlight one of the files and click on OPEN. A JTREE representation of the XML source file will appear in the left side panel.

> Select:

> "Validate" Validate XML instance file against the XML Schema file.

> Once you have selected VALIDATE the results of validating the XML Instance file against the schema will appear in the right side panel. The output will contain the name of the file validated and if the XML instance file is VALID or INVALID. The background of the right panel will be GREEN for successful validation and RED for unsuccessful validation. Also if the XML instance file is INVALID all errors will be reported in the right hand panel.

> Please click on the following link for a detailed description of the ValidatePDU Tool.

> Please send comments or recommendations directly to: Rick Rivello or Sandra I. Martinez