[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] KNewsTicker
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2002-03-11 23:23:08
[Download RAW message or body]

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

On Monday 11 March 2002 16:41, Ryan Cumming wrote:
<snip>
> Instead of the:
> (*charData == ' ' || *charData == '\n' || *charData == '\t' ||
> *charData == '\r') )
<snip>
> I'd look in to using QChar::isSpace(), as it handles all the
> characters you check for, plus two you missed (characters 11 and 12).
<snip>

I strongly doubt that XML allows anything else than SP, CR, LF and HT as 
whitespace. And I never saw "whitespace" mean anything but those four.

Marc

- -- 
Marc Mutz <mutz@kde.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8jTxc3oWD+L2/6DgRAuhhAKDmrWU9OAL3iqGV6XiWd67B18IFSwCg6O3W
eHKIGUr1ZhQQxCM9cYic8ZQ=
=bP45
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic