-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 11 March 2002 16:41, Ryan Cumming wrote: > Instead of the: > (*charData == ' ' || *charData == '\n' || *charData == '\t' || > *charData == '\r') ) > 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). 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 -----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-----