Validation tools for OpenAjax Metadata

Blogged by: Jon Ferraiolo on November 12, 2008 at 1:02 pm

OpenAjax Alliance has posted a handful of validation tools so that people can validate OpenAjax Metadata files. We have:

  • Validation Web Page – This Web page allows you to validate either a single OpenAjax Metadata file (an XML file) or a ZIP archive that contains multiple OpenAjax Metadata files inside. The Web page allows you to either upload an XML or ZIP file from your local file system for validation or enter the URL of an XML or ZIP file on the Web.
  • Validation Web services – Two different utilities:
    • Validate a URL – This Web service is located at /schema/OpenAjaxMetadata/1.0/validate_url.php. You can either pass the URL for an OpenAjax Metadata file or a ZIP archive via a URL parameter (using GET) or via a POST parameter.
    • Validate a stream of XML – This Web service is located at /schema/OpenAjaxMetadata/1.0/validate_data.php. This service validates the raw body contents of an HTTP POST request (i.e., the body of the POST request consists of an OpenAjax Metadata file).

This is all documented at /schema/OpenAjaxMetadata/1.0/index.html. All of the source code for the validation utilities can be found in the ’schema’ section of the OpenAjax open source project.

Note that OpenAjax Metadata 1.0 hasn’t been finalized yet, so the language schema is still subject to (probably minor) changes.