lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3614) XML parsing in XPathEntityProcessor doesn't respect ENTITY declarations?
Date Tue, 10 Jul 2012 23:11:34 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man updated SOLR-3614:
---------------------------

    Attachment: SOLR-3614.patch

trivial test patch demonstrating the error.
                
> XML parsing in XPathEntityProcessor doesn't respect ENTITY declarations?
> ------------------------------------------------------------------------
>
>                 Key: SOLR-3614
>                 URL: https://issues.apache.org/jira/browse/SOLR-3614
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>         Attachments: SOLR-3614.patch
>
>
> 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...
> {noformat}
> 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"
> ...
> {noformat}
> ...even when the entity is specifically declared.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message