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

Workaround the XERCES-J bug in Benchmark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • None
    • None
    • 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.patch
          2 kB
          Robert Muir
        2. LUCENE-3937.patch
          1 kB
          Uwe Schindler
        3. LUCENE-3937-remaining-references.patch
          6 kB
          Steven Rowe
        4. LUCENE-3937-remaining-references.patch
          6 kB
          Steven Rowe

        Activity

          People

            uschindler Uwe Schindler
            uschindler Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: