Using NSXMLParser with a DTD
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.