mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
Correct error in parameter type for cdata
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19350 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ec4bfb2956
commit
bc0414e6ab
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-05-16 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSXML.m: Corrected value for cdata in sax-like
|
||||
interface to be an NSData rather than an NSString.
|
||||
* Headers/Additions/GNUstepBase/GSXML.h: ditto
|
||||
|
||||
2004-05-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/autogsdoc.m: Create output directories if necessary.
|
||||
|
|
|
@ -222,7 +222,7 @@
|
|||
typeDefValue: (int)defType
|
||||
defaultValue: (NSString*)value;
|
||||
- (void) characters: (NSString*)name;
|
||||
- (void) cdataBlock: (NSString*)value;
|
||||
- (void) cdataBlock: (NSData*)value;
|
||||
- (void) comment: (NSString*) value;
|
||||
- (void) elementDecl: (NSString*)name
|
||||
type: (int)type;
|
||||
|
|
|
@ -2954,7 +2954,7 @@ cdataBlockFunction(void *ctx, const unsigned char *value, int len)
|
|||
|
||||
if (imp != treeImp)
|
||||
{
|
||||
(*imp)(HANDLER, sel, UTF8StrLen(value, len));
|
||||
(*imp)(HANDLER, sel, [NSData dataWithBytes: value length: len]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -3161,9 +3161,9 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
}
|
||||
|
||||
/**
|
||||
* Called when a pcdata block has been parsed.
|
||||
* Called when a cdata block has been parsed.
|
||||
*/
|
||||
- (void) cdataBlock: (NSString*)value
|
||||
- (void) cdataBlock: (NSData*)value
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue