Lists Home |
Date Index |
Francis Norton's approach is very interesting.
Rather than define the framework for schema validation using an XML document,
he extends XSLT 1.0 with a function rather like the current document() function.
It validates a given node (or node-list) and returns a nodelist containing the
results of validation. These results can be accessed as XPath nodes in the
The advantage of this approach seems to be that it is extremely nondisruptive
to existing technology and specifications. The downside is that it does not
provide any mechanism for fine-grained annotation of individual nodes
in the original document (apart from type-tagging). This may not
be a requirement given (for sake of argument) that we are more interested in
knowing that a node is valid rather than telling later processes how to treat that node.
----- Original Message -----
From: "Francis Norton" <email@example.com>
> ... I'd like to offer LLI (Locally Linked Infosets)
>  - a function-based approach to accessing post-validation results
> which could, I think, be used to implement the Schemachine.
> I hope it proves useful.
>  http://www.redrice.com/xml/LocallyLinkedInfosets.html