Extending FileList with CrLf

Richard A. O'Keefe ok at cs.otago.ac.nz
Fri Jul 25 05:07:55 UTC 2003


I note that XML 1.0 *requires* that all of (CR), (CR LF), and (LF) be
mapped to LF, and XML 1.1 adds (NEL), (CR NEL), (LS), and (CR LS) as well.
So if you are reading XML, you really _really_ want a stream that handles
any mix of (CR) (CR LF) and (LF); when writing XML, the platform convention
will (by W3C fiat) do.



More information about the Squeak-dev mailing list