fix problem with attribute value getting lost

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34576 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2012-01-18 16:23:58 +00:00
parent 78ccfdae11
commit ea4ea8e081

View file

@ -83,7 +83,6 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
break;
case(XML_ATTRIBUTE_NODE):
result = [[self alloc] _initWithNode:node kind: NSXMLAttributeKind];
[result setStringValue: StringFromXMLStringPtr(node->content)];
break;
default:
NSLog(@"ERROR: _objectForNode: called with a node of type %d", type);