Re: [Etoile-dev] TRXML break on but not (space between
On 28 Aug 2007, at 06:36, Yen-Ju Chen wrote:
> I don't know whether it is a bug of TRXML or a bad RSS.
>
> Here is the code which fails:
>
> NSString *string = @"<A><!--msn 20070323 --></A>";
My bug. I don't handle comments very well, since they never appear
in XML sent over XMPP.
The problem is that I am testing whether a tag name is equal to
@"!--" before deciding whether it's a comment. With this xml, the
tag name will be @"!--man".
I think I've fixed it in svn, but XCode is having a hissy fit on my
machine, and refusing to find GCC, so I can't test it right now.
I'll try to fix XCode later today and see.
David
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev
- [Etoile-dev] TRXML break on <!--ABC --> but not <!... Yen-Ju Chen
- Re: [Etoile-dev] TRXML break on <!--ABC --> but ... David Chisnall
- Re: [Etoile-dev] TRXML break on <!--ABC --> ... Yen-Ju Chen
