lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Commit Tag Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3614) XML parsing in XPathEntityProcessor doesn't respect ENTITY declarations?
Date Fri, 22 Mar 2013 16:33:16 GMT

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

Commit Tag Bot commented on SOLR-3614:
--------------------------------------

[branch_4x commit] Uwe Schindler
http://svn.apache.org/viewvc?view=revision&revision=1390924

Merged revision(s) 1390921 from lucene/dev/trunk:
SOLR-3895, SOLR-3614: XML and XSLT UpdateRequestHandler should not try to resolve external
entities; 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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