lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3937) Workaround the XERCES-J bug in Benchmark
Date Thu, 29 Mar 2012 17:56:22 GMT


Michael McCandless commented on LUCENE-3937:

LUCENE-1591 is when we first tripped on the XERCESJ-1257 bug... and the bug also happens on
enwiki-20110115-pages-articles.xml.bz2 export.

Great idea to workaround Xercesj's bug by using the JVM to decode UTF8, instead of Xercesj...

I'll test this patch now!

> Workaround the XERCES-J bug in Benchmark
> ----------------------------------------
>                 Key: LUCENE-3937
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Uwe Schindler
>         Attachments: LUCENE-3937.patch
> In becnhmark we have a patched version of XERCES which is hard to compile from source.
When looking at the code part patched and the source of EnwikiContentSource, to simply provide
the XML parser a Reader instead of InputStream, so the broken code is not triggered. This
assumes, that the XML-file is always UTF-8.... If not it will no longer work (because the
XML parser cannot switch encoding, if it only has a Reader).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message