[
https://issues.apache.org/jira/browse/LUCENE-3937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241486#comment-13241486
]
Michael McCandless commented on LUCENE-3937:
--------------------------------------------
OK with this patch the decode of enwiki-20110115 finished!
I agree we should tell the decoder to throw exception on any problems...
> Workaround the XERCES-J bug in Benchmark
> ----------------------------------------
>
> Key: LUCENE-3937
> URL: https://issues.apache.org/jira/browse/LUCENE-3937
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]