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

List:       kde-core-devel
Subject:    Re: [PATCH]: KNewsTicker querying non-ISO8859-1 sites
From:       Lars Knoll <lars () trolltech ! com>
Date:       2002-03-11 10:58:43
[Download RAW message or body]


> On Saturday 09 March 2002 16:47, Frerich Raabe wrote:
> > Perhaps that setContent() method does some stricter checking? Or does it
> > barf without any justified reason?
>
> Interestingly, changing
> 'setContent(QByteArray(QCString(data).stripWhiteSpace())' into
> 'setContent(data)' makes all four sourcefiles I tested with work. Too bad
> this probably breaks reading all those files which start with an empty line
> (I assume QXml doesn't handle that internally as the XML specs say that
> each XML file has to start with '<?xml' IIRC).

Yes. We're only complying with the specs here. Why not just strip out the 
spaces before the "<?xml" in knewsticker? 

Lars

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

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