mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Source/NSXMLNode.m: Further clean up.
* Source/NSXMLDTDNode.m (-initWithXMLString:): Move comment about missing code to here. * Source/NSXMLElement.m (-initWithName:stringValue:): Move subnode creation to here. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34806 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5f2856a462
commit
30c7457ba0
4 changed files with 496 additions and 488 deletions
|
@ -1,3 +1,11 @@
|
|||
2012-02-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSXMLNode.m: Further clean up.
|
||||
* Source/NSXMLDTDNode.m (-initWithXMLString:): Move comment about
|
||||
missing code to here.
|
||||
* Source/NSXMLElement.m (-initWithName:stringValue:): Move subnode
|
||||
creation to here.
|
||||
|
||||
2012-02-21 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSXMLNode.m: Clean up helper functions.
|
||||
|
|
|
@ -60,6 +60,9 @@ GS_PRIVATE_INTERNAL(NSXMLDTDNode)
|
|||
|
||||
- (id) initWithXMLString: (NSString*)string
|
||||
{
|
||||
// internal->node = xmlNewDtd(NULL,NULL,NULL);
|
||||
// TODO: Parse the string and get the info to create this...
|
||||
|
||||
[self notImplemented: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
|
|
@ -110,7 +110,11 @@ extern void clearPrivatePointers(xmlNodePtr aNode);
|
|||
{
|
||||
if ([self initWithName: name URI: nil] != nil)
|
||||
{
|
||||
[self setObjectValue: string];
|
||||
NSXMLNode *t;
|
||||
t = [[NSXMLNode alloc] initWithKind: NSXMLTextKind];
|
||||
[t setStringValue: string];
|
||||
[self addChild: t];
|
||||
[t release];
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue