Lists Home |
Date Index |
Schematron can create a validation report that collects validation errors
and reports them in XML format. You might at least look into that as a
basis for the syntax you ultimately use to represent the validation
information. You don't say what method you will use to validate instances
but if you do validate using schematron then using the schematron XML
format would be a no-brainer.
Thinking about it now, it seems like validation method you use is really
going to drive this decision, because the validation information you can
generate using each of DTD, XSD, relax and schematron fails to overlap in
On Wed, 24 Aug 2005 01:29:33 -0700, Bryan Rasmussen <firstname.lastname@example.org> wrote:
> I was wondering if anyone has ever seen a project for passing around xml
> instances with error assertions in the instances for testing validation.
> The idea would be as follows:
> The service would receive instances, process out assertions regarding the
> validity of the instances, update a database with this validity
> information, run
> a validation against the instance, compare the error report of the
> with the asserted validity and return pertinent information to the
> As I'm building a demo of this I thought it would be good if someone
> already had
> an error assertion markup instead of having to define it myself.