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=11758>.
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=11758

Line separator handling of serializer is not correct

           Summary: Line separator handling of serializer is not correct
           Product: XalanJ2
           Version: 2.0.0
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: org.apache.xalan.serialize
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


org.apache.xalan.serialize.SerializerToXML  class's 
void writeNormalizedChars(char ch[], int start, int length, boolean isCData)
method does not handle \r\n correctly.
All \n is expanded to platform line separator, which is \r\n on Windows while 
still keeping the original \r. That makes \r\n become \r\r\n.

Reply via email to