error trapping

Tim Bray tbray at textuality.com
Tue Oct 19 18:30:40 BST 1999


At 05:47 PM 10/19/99 +0200, james anderson wrote:
>one intrinsic problem with java parsers is that the java control model forces
>exceptions to unwind from the initiator's dynamic  context before the handler
>obtains control. this would mean that a callback interface would have to be
>proposed, ratified, and implemented.

Well, many of the Java parsers will in fact continue emitting error
messages after the first wellformedness error.  What none of them will
do is go on emitting structure/content callbacks.  That's correct 
behavior per the XML spec, and highly desirable. -Tim

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