Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3614

XML parsing in XPathEntityProcessor doesn't respect ENTITY declarations?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6, 4.0-BETA
    • 4.1, 6.0
    • None
    • None

    Description

      As reported by Michael Belenki on solr-user, pointing XPathEntityProcessor at XML files that use DTD "ENTITY" declarations causes XML parse errors of the form...

      org.apache.solr.handler.dataimport.DataImportHandlerException: Parsing failed for xml, url:testdata.xml rows processed:0
      ...
      Caused by: java.lang.RuntimeException: com.ctc.wstx.exc.WstxParsingException: Undeclared general entity "uuml"
      ...
      

      ...even when the entity is specifically declared.

      Attachments

        1. SOLR-3614.patch
          1.0 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              hossman Chris M. Hostetter
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: