W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2002

RE: space

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sun, 3 Mar 2002 20:54:45 +0100
To: <w3c-dist-auth@w3c.org>
Message-ID: <JIEGINCHMLABHJBIGKBCGEEDECAA.julian.reschke@gmx.de>
> From: w3c-dist-auth-request@w3.org
> [mailto:w3c-dist-auth-request@w3.org]On Behalf Of Erik Seaberg
> Sent: Sunday, March 03, 2002 8:46 PM
> To: w3c-dist-auth@w3c.org
> Subject: Re: space
> 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.

Just ti make sure everbody is aware of this: this is a basic limitation of
XML character content und thus restricts the possible contents of all
(text-based) WebDAV properties.
Received on Sunday, 3 March 2002 14:55:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:25 UTC