Branch: Tag:

2001-03-05

2001-03-05 19:08:16 by Martin Nilsson <mani@lysator.liu.se>

Bugfix so that entities works in compatibility mode. Changed werror to report_debug

Rev: server/etc/modules/RXML.pmod/module.pmod:1.135

2:   //!   //! Created 1999-07-30 by Martin Stjernholm.   //! - //! $Id: module.pmod,v 1.134 2001/03/01 03:06:00 mast Exp $ + //! $Id: module.pmod,v 1.135 2001/03/05 19:08:16 nilsson Exp $      //! Kludge: Must use "RXML.refs" somewhere for the whole module to be   //! loaded correctly.
990:    //! variable in a scope always is a string.    {   #ifdef OLD_RXML_COMPAT -  if (compatible_scope) +  if (compatible_scope && !intp(scope_name))    return ({scope_name || "form", var});   #endif   
1987:    //! Writes the message to the debug log if this tag has FLAG_DEBUG    //! set.    { -  if (flags & FLAG_DEBUG) werror (msg, @args); +  if (flags & FLAG_DEBUG) report_debug (msg, @args);    }       void terminate()
3175:   {    if (Frame f = get_context()->frame) // It's intentional that this assumes a context.    if (f->flags & FLAG_DEBUG) -  werror (msg, @args); +  report_debug (msg, @args);   }      final Frame make_tag (string name, mapping(string:mixed) args, void|mixed content,
4738:    default: error ("Herk\n");    }    }; -  if (err) werror (describe_backtrace (err)); +  if (err) report_debug (describe_backtrace (err));   }