Re: libxml2 errors

Bill Moseley <[email protected]> Wed, 1 Nov 2006 07:17:52 -0800 (PST)
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
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
[email protected]

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

Help with Swish-e:
   http://swish-e.org/current/docs
   [email protected]