• 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
Using NSXMLParser with a DTD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using NSXMLParser with a DTD


  • Subject: Using NSXMLParser with a DTD
  • From: Aram Greenman <email@hidden>
  • Date: Tue, 27 Jan 2004 12:12:45 -0800

Does NSXMLParser use the DTD? It has events for DTD declarations and validation errors, but

- these don't seem to work with an external DTD, and
- if the DTD is embedded in the document, some declarations are parsed (e.g. ELEMENT) but others crash (e.g. ENTITY and ATTLIST).

The documentation says that validation errors will only be reported if validation is turned on, implying that it can be turned on or off?

Also, do the error codes have any meaning? Parse errors are only reported as NSXMLParserInternalError.

Thanks,

Aram
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Launch an application with a specific language
  • Next by Date: controlling appearance of links in Text views
  • Previous by thread: Re: Launch an application with a specific language
  • Next by thread: controlling appearance of links in Text views
  • Index(es):
    • Date
    • Thread