🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gmane.linux.suse.general
Article #89365

[jira] Created: (XALANC-645) Pluggin of DOMStringPrintWriter into FormatterToXML leads to assert

#89365
From: "Dmitry Hayes (J
Date: Mon, 04 Jun 2007 08:46
20 lines
1104 bytes
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
            Priority: Minor


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.

Message-ID: <200405191916.17328.rouvas@di.uoa.gr>
Path: gmane.pugleaf.net!archive.newsdeef.eu!DE-FSN-DC8!gmane.newsdeef.eu!news.gmane.org!not-for-mail