NSXMLDocument: uncomplete documentation
NSXMLDocument: uncomplete documentation
- Subject: NSXMLDocument: uncomplete documentation
- From: Jérome Laurens <email@hidden>
- Date: Mon, 19 Nov 2007 13:46:38 +0100
Hi,
It took me some time to figure out what was wrong with NSXMLDocument's
+ (Class)replacementClassForClass: method
When subclassing NSXMLDocument, you can override this method to return
you own customized NSXMLNode, Element, ... class.
Unfortunately, this does not work if you open your XML documents using
the NSXMLNodeCompactEmptyElement input option.
In that case, the overriden method is properly called by the XML
parser, but the result is completely ignored
and your custom subclass is never used.
HTH
_______________________________________________
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