mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Update for GSXML changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13695 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4e55c4db90
commit
99c3853e95
1 changed files with 4 additions and 4 deletions
|
@ -4910,15 +4910,15 @@ GSPropertyList(NSString *string)
|
|||
format: @"not a property list - failed to parse as XML"];
|
||||
return nil;
|
||||
}
|
||||
if (![[[[parser doc] root] name] isEqualToString: @"plist"])
|
||||
if (![[[[parser document] root] name] isEqualToString: @"plist"])
|
||||
{
|
||||
[NSException raise: NSGenericException
|
||||
format: @"not a property list - because name node is %@",
|
||||
[[[parser doc] root] name]];
|
||||
[[[parser document] root] name]];
|
||||
return nil;
|
||||
}
|
||||
pl = AUTORELEASE(RETAIN(nodeToObject([[[parser doc] root] children])));
|
||||
return pl;
|
||||
pl = RETAIN(nodeToObject([[[parser document] root] children]));
|
||||
return AUTORELEASE(pl);
|
||||
}
|
||||
#endif
|
||||
d = [string dataUsingEncoding: NSUnicodeStringEncoding];
|
||||
|
|
Loading…
Reference in a new issue