On Tue, Mar 25, 2014, at 10:49 AM, Quincey Morris wrote: > However, I also see this as a bug in your code, since you’re accepting > “random” user input as formatted text (i.e. escaped HTML) without > validation.
Unfortunately, NSTextView lets users paste invalid UTF-16 codepoints directly into the NSTextStorage that backs the text view. We see this happen with OmniOutliner documents on occasion. Then the next time we try to load the document, libxml barfs on the invalid character entities. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com