[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: New entries file format.

From: <peter_at_pdavis.cx>
Date: 2003-01-28 06:24:35 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 27 January 2003 20:59, cmpilato@collab.net wrote:
     a) different from those for cdata
     b) not entirely clear, at least not without much research

Well, as I just posted in another message to the list, the difference is
pretty simple (just maybe not by reading the specs):

* When escaping attributes, simply additionally escape the four whitespace
characters, CR, LF, Space, and Tab, as well as single and double quotes.
If whitespace characters are encoded as character references, then they
will not be normalized/mutilated.

* All other escaped characters are the same.

* When decoding attributes, all four whitespace characters (if unescaped)
are transformed into spaces (0x20), but no treatment is given to
consecutive, preceding, or ending whitespace unless the attribute is not
CDATA (which we don't have to worry about). Again, if they are escaped,
there is nothing to worry about in either case.

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+NhQThDAgUT1yirARAgV7AKCQ5WjMmDCvbwiQX7bxn1F52CyU+ACdFDx8
UUU6c75/7JDOcmFF70wNMsI=
=CKxI
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:21:12 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.