xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven J. Hathaway (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XALANC-717) Crash (pure virtual method call) when included file is not well formed XML
Date Wed, 31 Oct 2012 05:13:11 GMT

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

Steven J. Hathaway commented on XALANC-717:
-------------------------------------------

Reviewing this patch is still on my TODO list.  -- I am also looking at XERCESC-1919 that
resolves a similar issue for the XML parser.
                
> 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: Steven J. Hathaway
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message