Skip to main content.
home | support | download

Back to List Archive

Re: NOT just plain broken for me.

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sun Feb 13 2005 - 02:10:55 GMT
On Sat, Feb 12, 2005 at 07:38:10PM -0600, Peter Karman wrote:
> that's a good idea, actually. if the default was 1 then it would be similar 
> to the default -v value (1). i.e., if you want to run silently, you have to 
> configure it that way. fatal parsing errors deserve to, by default, show on 
> stderr.

Oh it would have to be level 2.

In parser.c I have:

    if ( sw->parser_warn_level >= 1 )
        SAXHandler->fatalError     = (fatalErrorSAXFunc)&error;

    if ( sw->parser_warn_level >= 2 )
        SAXHandler->error          = (errorSAXFunc)&error;

    if ( sw->parser_warn_level >= 3 )
        SAXHandler->warning        = (warningSAXFunc)&warning;

But this says:

  http://xmlsoft.org/html/libxml-parser.html#fatalErrorSAXFunc

    Note: so far fatalError() SAX callbacks are not used, error() get
    all the callbacks for errors.

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Sat Feb 12 18:10:55 2005