Validating with NVDL for RuleML 1.02

From RuleML Wiki
Jump to: navigation, search

Validator.nu is an easy-to-use online tool for validating an XML instance against an NVDL schema. A basic procedure for using this tool is as follows:

  1. Open the Validator.nu webpage in your browser.
  2. Choose how you want to enter the instance:
  3. Skip the Encoding field
  4. Type or paste a URL to the schema you wish to validate against. Only schemas available from the internet can be used. For example,
  5. Skip the rest of the fields, and click Validate.
  6. The result will appear below, followed by a copy of the instance source.

To go straight to the validation results click here.

Note that Validator.nu depends on instances and schemas being served with the correct MIME type. In this case, the RuleML server is configured (using .htaccess) to serve files with extension .nvdl as application/xml.

An online demo of validation using the RuleML schemas with Validator.nu, including more advanced options, is available at the Demo section of the MYNG Wiki. Other tools that may be used for validation against NVDL schemas are described in the Tools section of the MYNG Wiki.