Just to let everyone know, I followed the advice and upgraded to 2.4.3.
I also modified parser.c before recompiling. It was necessary to make
two changes: set the level at which the internal UTF-8 to Latin-1
warnings are included to "2" rather than one and to change the "else"
section of the code in that same routine not report warnings. Setting
ParseLevelWarn and IndexReport to 0 did not help so the changes to the
source were the only realistic solution.
This has, for now, resolved my problem. My thanks to Bill Moseley and
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] On Behalf Of Bill Moseley
> Sent: Monday, January 10, 2005 4:17 PM
> To: Multiple recipients of list
> Subject: [SWISH-E] Re: Need to change ParseWarnLevel reporting
> On Mon, Jan 10, 2005 at 01:00:09PM -0800, Rob de Santos AFANA wrote:
> > Hi all,
> > When I run swish-e to index my site, I am getting a rather large
> > amount of the errors: "converting internal UTF-8 to Latin-1". I've
> > been running at ParseWarnLevel 1 and I'd like to change the code to
> > disable reporting of that particular error at that level.
> I know what
> > the errors are caused by and they aren't an issue as far as my
> > searching goes.
> > So, if someone familiar with the source code can point me to the
> > correct files in v2.4.2 to look at, I'll have at it and see
> if I can
> > do that. (Yes, I know that I turn error reporting
> completely off but
> > that's not what I want.)
> grep is your friend:
> $ fgrep -i 'converting internal' swish-e/src/*.c
> xmlParserWarning(parse_data->ctxt, "Error '%d' converting
> internal UTF-8 to Latin-1.\n", ret );
> Bill Moseley
Received on Thu Jan 20 22:43:12 2005