You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org> on 2007/06/04 17:46:35 UTC

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

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.


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


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

Posted by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANC-645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Hayes closed XALANC-645.
-------------------------------

    Resolution: Fixed

> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


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

Posted by "Ashley Zinyk (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANC-645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashley Zinyk reassigned XALANC-645:
-----------------------------------

    Assignee: Ashley Zinyk

> 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
>
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


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

Posted by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org>.
    [ 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org