mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
* Headers/Foundation/NSXMLNode.h: Add _stringValue
* Source/NSXMLNode.m: Change stringValue and setStringValue: resolvingEntities: to assign to _stringValue instead of _objectValue. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34404 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8f97e14738
commit
f83149b549
3 changed files with 10 additions and 5 deletions
|
@ -469,11 +469,9 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
|||
return (NSXMLDocument*)ancestor;
|
||||
}
|
||||
|
||||
|
||||
- (NSString*) stringValue
|
||||
{
|
||||
// FIXME
|
||||
return _objectValue;
|
||||
return _stringValue;
|
||||
}
|
||||
|
||||
- (NSString*) URI
|
||||
|
@ -530,11 +528,11 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
|||
{
|
||||
if(resolve == NO)
|
||||
{
|
||||
ASSIGN(_objectValue, string);
|
||||
ASSIGN(_stringValue, string);
|
||||
}
|
||||
else
|
||||
{
|
||||
ASSIGN(_objectValue, string); // need to actually resolve entities...
|
||||
ASSIGN(_stringValue, string); // need to actually resolve entities...
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue