mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Revised after testing again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39112 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
75df317244
commit
24f387f8a7
1 changed files with 11 additions and 4 deletions
|
@ -36,7 +36,7 @@
|
||||||
GS_PRIVATE_INTERNAL(NSXMLDocument)
|
GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
|
|
||||||
//#import <Foundation/NSXMLParser.h>
|
//#import <Foundation/NSXMLParser.h>
|
||||||
#import <Foundation/NSError.h>
|
#import "Foundation/NSError.h"
|
||||||
|
|
||||||
@implementation NSXMLDocument
|
@implementation NSXMLDocument
|
||||||
|
|
||||||
|
@ -531,6 +531,9 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#import "Foundation/NSException.h"
|
||||||
|
#import "Foundation/NSXMLDocument.h"
|
||||||
|
|
||||||
@implementation NSXMLDocument
|
@implementation NSXMLDocument
|
||||||
|
|
||||||
+ (Class) replacementClassForClass: (Class)cls
|
+ (Class) replacementClassForClass: (Class)cls
|
||||||
|
@ -545,7 +548,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
|
|
||||||
- (NSXMLDocumentContentKind) documentContentKind
|
- (NSXMLDocumentContentKind) documentContentKind
|
||||||
{
|
{
|
||||||
return 0
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSXMLDTD*) DTD
|
- (NSXMLDTD*) DTD
|
||||||
|
@ -560,7 +563,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
DESTROY(self);
|
DESTROY(self);
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"%@ - no libxml2 at configure time", className];
|
format: @"%@ - no libxml2 at configure time", className];
|
||||||
return nil
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithContentsOfURL: (NSURL*)url
|
- (id) initWithContentsOfURL: (NSURL*)url
|
||||||
|
@ -579,7 +582,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
|
|
||||||
- (id) initWithKind: (NSXMLNodeKind)theKind options: (NSUInteger)theOptions
|
- (id) initWithKind: (NSXMLNodeKind)theKind options: (NSUInteger)theOptions
|
||||||
{
|
{
|
||||||
return [self init]
|
return [self init];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithRootElement: (NSXMLElement*)element
|
- (id) initWithRootElement: (NSXMLElement*)element
|
||||||
|
@ -639,6 +642,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
|
|
||||||
- (NSString*) URI
|
- (NSString*) URI
|
||||||
{
|
{
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setVersion: (NSString*)version
|
- (void) setVersion: (NSString*)version
|
||||||
|
@ -647,6 +651,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
|
|
||||||
- (NSString*) version
|
- (NSString*) version
|
||||||
{
|
{
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) insertChild: (NSXMLNode*)child atIndex: (NSUInteger)index
|
- (void) insertChild: (NSXMLNode*)child atIndex: (NSUInteger)index
|
||||||
|
@ -675,10 +680,12 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
|
|
||||||
- (NSData*) XMLData
|
- (NSData*) XMLData
|
||||||
{
|
{
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSData *) XMLDataWithOptions: (NSUInteger)theOptions
|
- (NSData *) XMLDataWithOptions: (NSUInteger)theOptions
|
||||||
{
|
{
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) objectByApplyingXSLT: (NSData*)xslt
|
- (id) objectByApplyingXSLT: (NSData*)xslt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue