Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-645

Pluggin of DOMStringPrintWriter into FormatterToXML leads to assert

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • XalanC
    • None
    • All

    Description

      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.

      Attachments

        1. patch.diff
          0.4 kB
          Ashley Zinyk

        Activity

          People

            azinyk Ashley Zinyk
            dmitryh Dmitry Hayes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: