* 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:
Gregory John Casamento 2012-01-03 17:23:44 +00:00
parent 7dc6ad72bd
commit 15fee4d787
3 changed files with 10 additions and 5 deletions

View file

@ -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...
}
}