I'm building an XML tree from an XML file which is XML 1.1, so has character references that NSXMLDocument cannot handle natively. So, I'm working with a modified version of the Expat parser and building the tree as I go.

The problem: How do I associate a DTD with the document? setDTD: became unavailable in 10.10, but there appears to be no replacement. I'm still running Xcode 7.0.1, so maybe there's something newer that I can't see, but a Google search doesn't turn it up. Using addChild: raises an exception, so I'm wondering if there is any way to do this now.

Thanks for any pointers.

John
--
John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg
Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province, Papua New Guinea
Mussau-Emira language, Mussau Island, New Ireland Province, Papua New Guinea
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to