lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3614) XML parsing in XPathEntityProcessor doesn't respect ENTITY declarations?
Date Mon, 02 Dec 2013 13:13:50 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836491#comment-13836491
] 

ASF subversion and git services commented on SOLR-3614:
-------------------------------------------------------

Commit 1547011 from [~thetaphi] in branch 'dev/branches/lucene_solr_3_6'
[ https://svn.apache.org/r1547011 ]

SOLR-5520: Backports of:
- SOLR-4881 (Fix DocumentAnalysisRequestHandler to correctly use EmptyEntityResolver to prevent
loading of external entities like UpdateRequestHandler does)
- SOLR-3895 (XML and XSLT UpdateRequestHandler should not try to resolve external entities)
- SOLR-3614 (Fix XML parsing in XPathEntityProcessor to correctly expand named entities, but
ignore external entities)

> 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
>    Affects Versions: 3.6, 4.0-BETA
>            Reporter: Hoss Man
>            Assignee: Uwe Schindler
>             Fix For: 4.1, 5.0
>
>         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 was sent by Atlassian JIRA
(v6.1#6144)

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


Mime
View raw message