mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Get all the XML tests to pass again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34892 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4e97f9028e
commit
454385ff6e
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-03-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSXMLNode.m (-copyWithZone:): Use objectValue ivar
|
||||||
|
directly as the subclass NSXMLElement returns a different value.
|
||||||
|
|
||||||
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
|
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/NSUserDefaults.m:
|
* Source/NSUserDefaults.m:
|
||||||
|
|
|
@ -846,7 +846,8 @@ execute_xpath(NSXMLNode *xmlNode, NSString *xpath_exp, NSString *nmspaces)
|
||||||
|
|
||||||
c = [c _initWithNode: newNode kind: internal->kind];
|
c = [c _initWithNode: newNode kind: internal->kind];
|
||||||
|
|
||||||
[c setObjectValue: [self objectValue]];
|
GSIVar(c, options) = internal->options;
|
||||||
|
[c setObjectValue: internal->objectValue];
|
||||||
[c setURI: [self URI]];
|
[c setURI: [self URI]];
|
||||||
// [c setName: [self name]];
|
// [c setName: [self name]];
|
||||||
// [c setStringValue: [self stringValue]];
|
// [c setStringValue: [self stringValue]];
|
||||||
|
@ -1064,6 +1065,11 @@ execute_xpath(NSXMLNode *xmlNode, NSString *xpath_exp, NSString *nmspaces)
|
||||||
{
|
{
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
NSLog(@"self %@ other %@", self, other);
|
||||||
|
NSLog(@"s sV '%@' oV '%@', other sV '%@' oV '%@'", [self stringValue], [self objectValue],
|
||||||
|
[other stringValue], [other objectValue]);
|
||||||
|
*/
|
||||||
return isEqualTree(MY_NODE, (xmlNodePtr)[other _node]);
|
return isEqualTree(MY_NODE, (xmlNodePtr)[other _node]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue