Re: [NSMutableAttributedString] How is NSBaseURLDocumentOption supposed to work?

2008-06-30 Thread Douglas Davidson
On Jun 28, 2008, at 4:37 AM, Stéphane Sudre wrote: OK, someone kindly pointed me off-list that I was using a NSString instead of a NSURL. I'm still wondering which URL is supposed to be used: - the document itself or - the parent folder of the document This is the URL that will be passe

Re: [NSMutableAttributedString] How is NSBaseURLDocumentOption supposed to work?

2008-06-28 Thread Stéphane Sudre
On Jun 26, 2008, at 12:38 AM, Stéphane Sudre wrote: When reading a html document into a NSMutableAttributedString (or NSTextStorage) using - (BOOL)readFromURL:(NSURL *)url options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict, what value are you supposed to set for NSBa

[NSMutableAttributedString] How is NSBaseURLDocumentOption supposed to work?

2008-06-25 Thread Stéphane Sudre
When reading a html document into a NSMutableAttributedString (or NSTextStorage) using - (BOOL)readFromURL:(NSURL *)url options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict, what value are you supposed to set for NSBaseURLDocumentOption? When I test this with HTML files