By José João Almeida (‎jj‎) from Braga.pm
Date: Friday, 6 June 2008 16:40
Duration: 20 minutes
Language: English
Tags: hop xml


XML Validation deals with several levels:
. Validate documents
. Validate "grammar" (eg. is correct according to a DTD)
. Simple semantic validation (eg. some values agree with a schema)

In this presentation we will discuss validation at a different level:

1. association of types with elements
2. For each type:
. define a function is-valid
. define a function fix-it (optional)
(types and functions can be dynamic)

TX is a Perl module and a DSL tool to help annotate and fix if possible
structured documents guided by types.