Re: NSXMLDocument and relative DTD?
Re: NSXMLDocument and relative DTD?
- Subject: Re: NSXMLDocument and relative DTD?
- From: Alexander von Below <email@hidden>
- Date: Mon, 02 Jun 2008 21:39:07 +0200
Thanks, I guess I will file it then.
I am not the most knowledgeable guy about tcpdump, but at least -
validateWithError: does not generate any packets to or from the host
(I can see the packets on a non-validating init, though)
Unless there is any more input, I will consider it a bug
Thanks for your input
Alex
Am 02.06.2008 um 16:42 schrieb Jens Alfke:
On 2 Jun '08, at 7:02 AM, Alexander von Below wrote:
When validating the document, either on initWithURL or explicitly,
validation fails with
Error Domain=NSXMLParserErrorDomain Code=1549 UserInfo=0x14845c70
"Line 2: failed to load external entity "foo/bar/faz.dtd"
This sounds like it could be a bug in NSXML. One possible experiment
is to run tcpdump or tcpflow, and see what HTTP traffic the app
generates while it's validating the XML. Does it even attempt to
load any HTTP resources? Of course that doesn't suggest any
workarounds, but it gives you more info to put in your bug report...
—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