Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3937

Workaround the XERCES-J bug in Benchmark

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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).

        Attachments

        1. LUCENE-3937-remaining-references.patch
          6 kB
          Steve Rowe
        2. LUCENE-3937-remaining-references.patch
          6 kB
          Steve Rowe
        3. LUCENE-3937.patch
          2 kB
          Robert Muir
        4. LUCENE-3937.patch
          1 kB
          Uwe Schindler

          Activity

            People

            • Assignee:
              thetaphi Uwe Schindler
              Reporter:
              thetaphi Uwe Schindler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: