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

XML parsing in XPathEntityProcessor doesn't respect ENTITY declarations?

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment