[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: SAX2: Exceptions

  • From: "Mark D. Anderson" <mda@d...>
  • To: "David Brownell" <david-b@p...>
  • Date: Tue, 21 Dec 1999 13:47:09 -0800

exception data structure
> > which ones are continuable?
> 
> Neither Java nor C++ has "continuable" exceptions; what are you
> talking about?

sorry, i didn't mean it in the technical sense.
but instead asking whether all exceptions are going to be "fatal".
personally i prefer that -- i don't like using exceptions as a
message sending mechanism. but then there does need to be a way
to signal warnings that don't mean that parsing can't be continued,
if you follow my double-negative drift. 

> 
> 
> > there are also potential MT issues which i mentioned on a SAX2 thread
> > a few weeks ago.
> 
> Perhaps you could give a pointer to the archive entry.

this was intermixed in the "SAX/C++: C++-specific design principles" thread
at http://www.lists.ic.ac.uk/hypermail/xml-dev/xml-dev-Dec-1999/0368.html

> There should be no MT issues, beyond the fact that multithreaded C++
> isn't standardized.  Any "catch" clauses clearly need to operate in
> exactly the context of the thread whose stack is being unwound, and
> be able to release locks owned by that thread.

i didn't mean anything as deep as that. actually it isn't an MT issue
so much as a multiple use issue -- the last draft i examined appeared
not to have enough information in the exception data structure for
me to recover which of possibly multiple parsing activities it is
related to (in case i've got a single catch at top level, whether ST or MT).

-mda




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



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.