* Source/NSXMLElement.m: Correct used namespace field.

* Source/NSXMLNode.m: Implement special handling for namespace
nodes.
* Tests/base/NSXMLNode/basic.m: Correct method name for
namespace node.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34926 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2012-03-12 19:50:51 +00:00
parent 84ce4ee4e3
commit 86330f01a7
4 changed files with 134 additions and 80 deletions

View file

@ -25,8 +25,8 @@ int main()
text = [NSXMLNode textWithStringValue: @"Text node"];
pi = [NSXMLNode processingInstructionWithName: @"PI name"
stringValue: @"PI string"];
ns = [NSXMLNode processingInstructionWithName: @"name space name"
stringValue: @"name space string"];
ns = [NSXMLNode namespaceWithName: @"name space name"
stringValue: @"name space string"];
comment = [NSXMLNode commentWithStringValue: @"Comment node"];
attr = [NSXMLNode attributeWithName: @"key"
stringValue: @"value"];