OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Error Assertion Markup?

[ Lists Home | Date Index | Thread 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  
important ways.


On Wed, 24 Aug 2005 01:29:33 -0700, Bryan Rasmussen <bry@itnisk.com> wrote:

> Hey
> 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  
> validation
> with the asserted validity and return pertinent information to the  
> requester.
> 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.



Nathan Young
A: ncy1717
E: natyoung@cisco.com


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS