You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Luis Bernardo (JIRA)" <ji...@apache.org> on 2013/07/13 00:41:50 UTC
[jira] [Commented] (FOP-2271) [PATCH] XSL Infinite loop
[ https://issues.apache.org/jira/browse/FOP-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707482#comment-13707482 ]
Luis Bernardo commented on FOP-2271:
------------------------------------
I had investigated this issue before and asked a question in the xalan-dev list:http://mail-archives.apache.org/mod_mbox/xml-xalan-dev/201203.mbox/%3CCAO3yRHsUJBxnu7G4L-Zr1iLL6aVh%2BGwaUXWSgGCU%3DVb3WkcXrg%40mail.gmail.com%3E.
I think Simon came up with a nice workaround that does not require changing xalan.
> [PATCH] XSL Infinite loop
> -------------------------
>
> Key: FOP-2271
> URL: https://issues.apache.org/jira/browse/FOP-2271
> Project: Fop
> Issue Type: Bug
> Reporter: simon steiner
> Attachments: case26692.xml, case26692.xsl, iloop.patch, ilooptest.patch
>
>
> fop -xml case26692.xml -xsl case26692.xsl out.pdf
> causes Infinite loop due to xalan calling endElement in a finally block, so exception in startElement wont stop xml parser straight away.
--
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