[
https://issues.apache.org/jira/browse/XALANC-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129533#comment-13129533
]
Christian Luidolt commented on XALANC-717:
------------------------------------------
The Locator stack is implemented and maintained by XalanC - so this is an issue
of XalanC - please see the attached patch (xalanC-include-crash.diff) for a
solution of this issue.
> Crash (pure virtual method call) when included file is not well formed XML
> --------------------------------------------------------------------------
>
> Key: XALANC-717
> URL: https://issues.apache.org/jira/browse/XALANC-717
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Affects Versions: 1.10
> Reporter: Christian Luidolt
> Assignee: Brian Minchau
> Attachments: xalanC-include-crash.diff
>
>
> create a .xsl file which includes antoher .xsl file (using xsl:include) which
> in not well-formed XML, e.g. has garbage at the end of the file.
> When executing XalanTransformer::transform() the program crashes (virtual
> method call) because the locator has already been freed.
> The reason for the crash is that the Locator of the included file has been
> pushed onto the locator stack by the StylesheetHandler but has not been
> removed because the endDocument callback has not been called.
--
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: [email protected]
For additional commands, e-mail: [email protected]