(resend) Problem subclassing NSXMLElement
(resend) Problem subclassing NSXMLElement
- Subject: (resend) Problem subclassing NSXMLElement
- From: Joseph Jones <email@hidden>
- Date: Tue, 28 Jun 2005 21:46:33 -0700
(Don't see that this made it to the list...)
HI all,
I am trying to subclass NSXMLElement to expand the functionality of
element instances. I followed the rules in the docs for doing this
with the exception of overriding initWithLocalName:URI: because there
is NO message of that description on NSXMLElement. I instead overrode
initWithName:URI:. I am returning my class from the
replacementClassForClass class method on my subclass of
NSXMLDocument. I put a breakpoint and I am successfully returning the
class for the subclass I created. Unfortunately it appears that the
class is being ignored. My subclass of NSXMLNode is working fine for
those items being created as nodes and not elements.
I am at a total loss as to why this is happening. If anyone has a
clue to what is going on or any tips on this it would be greatly
appreciated.
Thanx,
joe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden