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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: error trapping

[ Lists Home | Date Index | Thread Index ]
  • From: "Rick Jelliffe" <ricko@allette.com.au>
  • To: <xml-dev@ic.ac.uk>
  • Date: Wed, 20 Oct 1999 20:50:25 +0800


From: Ross Mehlman <Ross_Mehlman@emeraldsolutions.com>

>The parsers/validators I've come across thus far stop when they come
across
>an error.
>
>Is there anything out there that will resume after finding an error
(and
>possibly find more?), writing errors to a report instead?

If you are talking about validity issues only (*not* well-formedness)
then you might find my new tree-pattern validator "The Schematron"
useful.

 If you use "assert" elements you can get error reports when validity
conditions are not met (the validity conditions use XPath expressions.)
If you use "report" elements, you can get messages when certain patterns
are found, which can help you figure out what kind of structures are in
your documents.

The Schematron website is at.
http://www.ascc.net/xml/resource/schematron/schematron.html

You can also use it for string-testing of the values of elements and
attributes, and many things that DTDs cannot give.

Rick Jelliffe
Computing Centre
Academia Sinica
Taipei, Taiwan


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

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