error trapping

Rick Jelliffe ricko at allette.com.au
Wed Oct 20 14:26:52 BST 1999


From: Ross Mehlman <Ross_Mehlman at 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 at 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 at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list