Re: Problem with PDFDocument initWithURL method
Re: Problem with PDFDocument initWithURL method
- Subject: Re: Problem with PDFDocument initWithURL method
- From: John Calhoun <email@hidden>
- Date: Wed, 8 Aug 2007 16:02:15 -0700
On Aug 8, 2007, at 2:02 AM, JanakiRam wrote:
If no data found at db level i'm receving an empty pdf document.
If get the empty document as response , the initWithURL method of
PDFDocument is crashing.
I've provided the same URL to Browsers such as Safari & Firefox ,
they are not crashing.
Someone else has replied that the same problem happens if you directly
call CGPDFDocumentCreateWithURL() (which of course if what PDFDocument
does). I talked with a CoreGraphics engineer and he suggested that
the problem is deeper still — in CFURL. Without knowing a lot of the
particulars of URL schema, the short answer is, CFURL does not handle
the breadth and depth of URL types. Browsers are not using CFURL.
I suspect your bug is with CFURL, and not with either PDFDocument or
CoreGraphics.
I'm a little concerned about the crash though. It seems to me this
should not crash....
john calhoun—_______________________________________________
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