mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
fix rootElement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34522 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
70b79c28fc
commit
25ffa3ff82
2 changed files with 7 additions and 4 deletions
|
@ -78,10 +78,10 @@ void clearPrivatePointers(xmlNodePtr aNode)
|
|||
switch(type)
|
||||
{
|
||||
case(XML_DOCUMENT_NODE):
|
||||
result = [[self alloc] initWithKind: NSXMLDocumentKind];
|
||||
result = [[NSXMLDocument alloc] initWithKind: NSXMLDocumentKind];
|
||||
break;
|
||||
case(XML_ELEMENT_NODE):
|
||||
result = [[self alloc] initWithKind: NSXMLElementKind];
|
||||
result = [[NSXMLElement alloc] initWithKind: NSXMLElementKind];
|
||||
break;
|
||||
case(XML_TEXT_NODE):
|
||||
result = [[self alloc] initWithKind: NSXMLTextKind];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue