• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSXMLDocument and relative DTD?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXMLDocument and relative DTD?


  • Subject: Re: NSXMLDocument and relative DTD?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 2 Jun 2008 07:42:57 -0700


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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: NSXMLDocument and relative DTD?
      • From: Alexander von Below <email@hidden>
References: 
 >NSXMLDocument and relative DTD? (From: Alexander von Below <email@hidden>)

  • Prev by Date: How does NSWorkspace -isFilePackageAtPath: work?
  • Next by Date: Re: How does NSWorkspace -isFilePackageAtPath: work?
  • Previous by thread: NSXMLDocument and relative DTD?
  • Next by thread: Re: NSXMLDocument and relative DTD?
  • Index(es):
    • Date
    • Thread