Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using NSXMLParser with a DTD



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.