RE: space

> 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