DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23514>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23514

FormatterToText::characters LF to CRLF replace (Win32)





------- Additional Comments From [EMAIL PROTECTED]  2003-10-07 16:04 -------
Here's the relevant section of characters() from the repository:

    if (m_normalize == false)
    {
        m_writer->write(chars[i]);
    }
    else
    {
        // Normalize LF and CR/LF to the appropriate line ending sequence.
        if (chars[i] == XalanUnicode::charLF)
        {
            m_writer->write(m_newlineString, 0, m_newlineStringLength);
        }
        else if (chars[i] == XalanUnicode::charCR &&
                 (i + 1 < length &&
                  chars[i + 1] == XalanUnicode::charLF))
        {
            m_writer->write(m_newlineString, 0, m_newlineStringLength);

            ++i;
        }
        else
        {
            m_writer->write(chars[i]);
        }
    }

I don't see the code you are quoting, and I don't see where the bug is.  Are 
you sure you are using the latest CVS code?  Thanks!

Reply via email to