error trapping

Rick Jelliffe ricko at
Wed Oct 20 14:26:52 BST 1999

From: Ross Mehlman <Ross_Mehlman at>

>The parsers/validators I've come across thus far stop when they come
>an error.
>Is there anything out there that will resume after finding an error
>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"

 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.

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
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list