mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +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
6f803c1c70
commit
af84c47f9c
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>
|
||||
|
||||
* Source/NSUserDefaults.m:
|
||||
|
|
|
@ -846,7 +846,8 @@ execute_xpath(NSXMLNode *xmlNode, NSString *xpath_exp, NSString *nmspaces)
|
|||
|
||||
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 setName: [self name]];
|
||||
// [c setStringValue: [self stringValue]];
|
||||
|
@ -1064,6 +1065,11 @@ execute_xpath(NSXMLNode *xmlNode, NSString *xpath_exp, NSString *nmspaces)
|
|||
{
|
||||
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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue