W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > January to March 2002

Re: space

From: Erik Seaberg <erk@flyingcroc.com>
Date: 03 Mar 2002 12:14:21 -0800
To: www-webdav-dasl@w3.org
Message-ID: <86zo1ps92a.fsf@unx51.staff.flyingcroc.net>
Julian Reschke <julian.reschke@gmx.de> writes:

> Just for the record: you can't have any control characters except
> TAB, CR and LF in an XML string (and preservation of the type of
> line break is not guaranteed).

Preservation is forbidden, since parsers are required to replace
unencoded CRLF or CR in an XML document (or other external parsed
entity) with LF.  AFAIK you can use &#xd; to embed a CR in a search
string, and it might be safest to encourage clients to avoid line
breaks in search strings and use &#xd; and/or &#xa; rather than rely
on every XML parser to handle line breaks correctly.
Received on Sunday, 3 March 2002 15:16:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 03:38:08 GMT