Bugs item #619415, was opened at 2002-10-06 18:57
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=619415&group_id=16035

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Snow (absnom)
Assigned to: Nobody/Anonymous (nobody)
Summary: HTMLWriter problem with carriage returns

Initial Comment:
HTMLWriter does not appear to output text nodes whose
content contains DOS-type line feeds - <cr><lf>. For
example, take the following simple HTML file:

<html>
<body bgcolor="#ffffff">

<div ID="test">
Mary had a little lamb.
</div>

<br/>

<a href="testURL">Test URL</a>

Hello, this is a test.

</body>
</html>

If this file is created using a Windows text editor,
then read in with a SaxReader and the resulting
Document object is written out to a file using
HTMLWriter, both "Mary had a little lamb" and "Hello,
this is a test." are not written out to the file. If
you change the end-of-line characters to Unix-style
<lf> only, the lines are written out.

XMLWriter does not appear to have the same problem.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=619415&group_id=16035


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to