Dan Bruno created XALANJ-2622:
---------------------------------
Summary: XML Comments don't respect line-separator output property
Key: XALANJ-2622
URL: https://issues.apache.org/jira/browse/XALANJ-2622
Project: XalanJ2
Issue Type: Bug
Security Level: No security risk; visible to anyone (Ordinary problems in
Xalan projects. Anybody can view the issue.)
Reporter: Dan Bruno
Assignee: Steven J. Hathaway
Attachments: XMLSeparator.java, sample.xml
The attached XML file uses Windows line endings and contains an XML comment.
The code attached reads in the file, calls the TransformerFactory and
transforms it back to a String. When this happens, the comments have Unix-style
line endings despite configuring the line-separator output property to be
"\r\n". The rest of the file is correct.
The attached java file reproduces the issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]