| |||||||||||||||||
| |||||||||||||||||
Description | |||||||||||||||||
This module exports the core functions from the basic validation und simplification libraries. It also exports some helper functions for easier access to the validation functionality. | |||||||||||||||||
Synopsis | |||||||||||||||||
| |||||||||||||||||
Documentation | |||||||||||||||||
| |||||||||||||||||
validate a document with a Relax NG schema
options evaluated by validateDocumentWithRelaxSchema:
all other options are propagated to the read functions for schema input example: validateDocumentWithRelaxSchema [(a_check_restrictions, "0")] "testSchema.rng" | |||||||||||||||||
| |||||||||||||||||
validate an XML document with respect to a Relax NG schema
| |||||||||||||||||
| |||||||||||||||||
normalize a document for Relax NG validation, call the validateRelax function for doing the hard work, and issue errors
Document validation Validates a xml document with respect to a Relax NG schema. First, the schema is validated with respect to the Relax NG Spezification. If no error is found, the xml document is validated with respect to the schema.
available options:
example: validate [(a_do_not_check_restrictions, "1")] "test.xml" "testSchema.rng" | |||||||||||||||||
| |||||||||||||||||
Relax NG schema validation Validates a Relax NG schema with respect to the Relax NG Spezification.
| |||||||||||||||||
| |||||||||||||||||
Document validation Validates a xml document with respect to a Relax NG schema. Similar to validate, but the Relax NG Specification is not created. Can be used, to check a list of documents more efficiently.
example: Text.XML.HXT.RelaxNG.Schema.relaxSchemaArrow >>> ( validateWithSpezification [] "foo.xml" "foo.rng" &&& validateWithSpezification [] "bar.xml" "bar.rng" ) | |||||||||||||||||
| |||||||||||||||||
Relax NG schema validation see validateSchema and validateWithSpezification
| |||||||||||||||||
| |||||||||||||||||
Document validation Validates a xml document with respect to a Relax NG schema, but the schema is not validated with respect to a specification first. Should be used only for valid Relax NG schemes.
| |||||||||||||||||
module Text.XML.HXT.RelaxNG.Validation | |||||||||||||||||
module Text.XML.HXT.RelaxNG.Simplification | |||||||||||||||||
Produced by Haddock version 0.8 |