mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
* Source/NSXMLDocument.m
* Source/NSXMLDTD.m * Source/NSXMLDTDNode.m * Source/NSXMLElement.m * Source/NSXMLNode.m * Source/NSXMLPrivate.h: Reimplementation of all DOM classes based on libxml2. Implementation of all methods using libxml2 functions. * Tests/base/NSXMLDocument/basic.m * Tests/base/NSXMLElement/attributes.m * Tests/base/NSXMLElement/children.m * Tests/base/NSXMLNode/basic.m * Tests/base/NSXMLNode/children.m * Tests/base/NSXMLNode/kinds.m: Changes to test for new functionality. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34789 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a2dbde8cec
commit
f02339adda
13 changed files with 1702 additions and 559 deletions
|
@ -46,7 +46,6 @@ GS_PRIVATE_INTERNAL(NSXMLDTD)
|
|||
[internal->entities release];
|
||||
[internal->elements release];
|
||||
[internal->notations release];
|
||||
[internal->attributes release];
|
||||
[internal->original release];
|
||||
}
|
||||
[super dealloc];
|
||||
|
@ -76,6 +75,11 @@ GS_PRIVATE_INTERNAL(NSXMLDTD)
|
|||
return nil;
|
||||
}
|
||||
|
||||
- (void) _createInternal
|
||||
{
|
||||
GS_CREATE_INTERNAL(NSXMLDTD);
|
||||
}
|
||||
|
||||
- (id) init
|
||||
{
|
||||
return [self initWithKind: NSXMLDTDKind options: 0];
|
||||
|
@ -117,7 +121,6 @@ GS_PRIVATE_INTERNAL(NSXMLDTD)
|
|||
- (void) insertChild: (NSXMLNode*)child atIndex: (NSUInteger)index
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
internal->childrenHaveMutated = YES;
|
||||
}
|
||||
|
||||
- (void) insertChildren: (NSArray*)children atIndex: (NSUInteger)index
|
||||
|
@ -169,13 +172,11 @@ GS_PRIVATE_INTERNAL(NSXMLDTD)
|
|||
- (void) setPublicID: (NSString*)publicID
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
internal->modified = YES;
|
||||
}
|
||||
|
||||
- (void) setSystemID: (NSString*)systemID
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
internal->modified = YES;
|
||||
}
|
||||
|
||||
- (NSString*) systemID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue