Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
- Subject: Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
- From: Jens Alfke <email@hidden>
- Date: Thu, 09 May 2013 11:58:19 -0700
On May 9, 2013, at 10:53 AM, Markus Spoettl <email@hidden> wrote:
> Well, that's not entirely true, unfortunately. Although the documentation suggests you can, NSXMLDocument -init.... will crash if the content you're trying to feed it is sufficiently non-XML (say an ASCII text file).
Well, that’s bad, especially since one of the purposes of tidy is to make it safe to read untrusted XML/HTML input.
Have you reported this to Radar?
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden