[
https://issues.apache.org/jira/browse/XALANC-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510375
]
Dmitry Hayes commented on XALANC-645:
-------------------------------------
The patch is committed with a small change : I removed the commented line - we
are trying not to leave dead code in XalanC . Thanks!
> Pluggin of DOMStringPrintWriter into FormatterToXML leads to assert
> -------------------------------------------------------------------
>
> Key: XALANC-645
> URL: https://issues.apache.org/jira/browse/XALANC-645
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Environment: All
> Reporter: Dmitry Hayes
> Assignee: Ashley Zinyk
> Priority: Minor
> Attachments: patch.diff
>
>
> When we plug DOMStringPrintWriter into FormatterToXML , the variable m_stream
> is getting value null . Therefore , the assert in FormatterToXML.cpp , line
> 629 will check the right condition. As a side comment , if the FormatterToXML
> is initalized with DOMStringPrintWriter , and the parameter fBufferData
> having a value "false" , the processor will crach on the null pointer for the
> same reason : DOMStringPrintWriter is having m_stream data member null;
> I'd suggest to comment out the second assert in FormatterToXML.cpp ,
> function FormatterToXML::accumCharUTF.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]