Skip to main content.
home | support | download

Back to List Archive

Re: libxml2 errors

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Nov 01 2006 - 15:17:59 GMT
On Wed, Nov 01, 2006 at 06:56:59AM -0800, allby wrote:
> Hi
> I update swish from 2.4.3 to 2.4.4 and reindex my site.
> 
> I use HTML2 parser, libxml2(2.6.19) same in both versions.
> In new version appear errors like
> 
> test.html:5: error: Tag v_test invalid
> <v_test>ttttteeessssttt</v_test>
> 
> Question: Why I see this errors, when v_test is indexed anyway?
> 
> <v_test>ttttteeessssttt</v_test> placed in <html> tag.
> 
> I modify html page by adding this tag for special purpose.
> If I can turn off this error message tell me how?

The tag is invalid -- you might want to try <span class="vtest"> or
something like.

You should be able to suppress the warnings with:

    ParserWarnLevel 0

but I would be careful to check that the parser isn't aborting on the
document and not indexing anything past the error.

-- 
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 Wed Nov 1 07:18:00 2006