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:
fredkiefer 2012-03-06 09:55:36 +00:00
parent 4e97f9028e
commit 454385ff6e
2 changed files with 12 additions and 1 deletions

View file

@ -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]);
}