• 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
NSXMLDocument: uncomplete documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Programatically creating a checkbox
  • Next by Date: Re: Ruby/Python - mixed language apps, and garbage collection
  • Previous by thread: Re: how to convert char to int?
  • Next by thread: Openning a System Preferences panel
  • Index(es):
    • Date
    • Thread