Branch: Tag:

2000-03-06

2000-03-06 17:50:06 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug with continuation after rxml errors.

Rev: server/base_server/rxml.pike:1.159
Rev: server/etc/modules/RXML.pmod/module.pmod:1.74

2:   //!   //! Created 1999-07-30 by Martin Stjernholm.   //! - //! $Id: module.pmod,v 1.73 2000/03/04 19:08:32 mast Exp $ + //! $Id: module.pmod,v 1.74 2000/03/06 17:50:06 mast Exp $      //! Kludge: Must use "RXML.refs" somewhere for the whole module to be   //! loaded correctly.
215:    ustate[parser] = ({err});    throw (err = parser);    } -  else throw_fatal (err); +  else { +  ctx->handle_exception (err, parser); // Will rethrow unknown errors. +  return ({});    } -  +  }       DECLARE_CNT (__count);   
2164:    if (!context->unwind_state) context->unwind_state = ([]);    context->unwind_state->top = err;    } -  else if (context) -  context->handle_exception (err, this_object()); // Will rethrow unknown errors. +     else {    LEAVE_CONTEXT();    throw_fatal (err);
2203:    if (!context->unwind_state) context->unwind_state = ([]);    context->unwind_state->top = err;    } -  else if (context) -  context->handle_exception (err, this_object()); // Will rethrow unknown errors. +     else {    LEAVE_CONTEXT();    throw_fatal (err);