mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 01:11:01 +00:00
* Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLNode.h * Source/NSXMLElement.m * Source/NSXMLNode.m: Move _URI to NSXMLNode. change dealloc accordingly. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34406 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
44399b36f4
commit
5193c6fe20
5 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,11 @@
|
|||
2012-01-03 13:03-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/Foundation/NSXMLElement.h
|
||||
* Headers/Foundation/NSXMLNode.h
|
||||
* Source/NSXMLElement.m
|
||||
* Source/NSXMLNode.m: Move _URI to NSXMLNode.
|
||||
change dealloc accordingly.
|
||||
|
||||
2012-01-03 12:42-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSXMLNode.m: Implement copyWithZone:
|
||||
|
|
|
@ -45,7 +45,6 @@ extern "C" {
|
|||
NSMutableArray *_namespaces;
|
||||
NSMutableArray *_children;
|
||||
BOOL _childrenHaveMutated;
|
||||
NSString *_URI;
|
||||
NSInteger _prefixIndex;
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -89,6 +89,7 @@ typedef NSUInteger NSXMLNodeKind;
|
|||
id _objectValue;
|
||||
NSString *_stringValue;
|
||||
NSString *_name;
|
||||
NSString *_URI;
|
||||
#endif
|
||||
#if GS_NONFRAGILE
|
||||
# if defined(GS_NSXMLNode_IVARS)
|
||||
|
|
|
@ -30,11 +30,9 @@
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[_name release];
|
||||
[_attributes release];
|
||||
[_namespaces release];
|
||||
[_children release];
|
||||
[_URI release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
|
@ -475,7 +475,7 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
|||
|
||||
- (NSString*) URI
|
||||
{
|
||||
return [self notImplemented: _cmd]; // FIXME ... fetch from libxml
|
||||
return _URI; // FIXME ... fetch from libxml
|
||||
}
|
||||
|
||||
- (NSString*) XMLString
|
||||
|
@ -520,7 +520,7 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
|||
|
||||
- (void) setURI: (NSString*)URI
|
||||
{
|
||||
[self notImplemented: _cmd]; // FIXME ... set in libxml
|
||||
ASSIGN(_URI, URI);
|
||||
}
|
||||
|
||||
- (void) setStringValue: (NSString*)string resolvingEntities: (BOOL)resolve
|
||||
|
|
Loading…
Reference in a new issue