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

XML parsing in XPathEntityProcessor doesn't respect ENTITY declarations?

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6, 4.0-BETA
    • Fix Version/s: 4.1, 6.0
    • Component/s: None
    • Labels:
      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

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                hossman Hoss Man
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: