mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-24 06:02:27 +00:00
mostly fixups for ICU
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31742 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c4fdcb6d93
commit
62de5b485f
13 changed files with 16749 additions and 2825 deletions
|
@ -46,7 +46,7 @@ NSString* const NSXMLParserErrorDomain = @"NSXMLParserErrorDomain";
|
|||
|
||||
static NSNull *null = nil;
|
||||
|
||||
#if defined(HAVE_LIBXML)
|
||||
#if 0 && defined(HAVE_LIBXML)
|
||||
|
||||
/* We support a strict libxml2 based parser ... but sometimes we need a
|
||||
* sloppier parser which copes with bad XML generated by Apple's software,
|
||||
|
@ -510,7 +510,7 @@ static NSNull *null = nil;
|
|||
|
||||
- (NSError*) parserError
|
||||
{
|
||||
return nil; // FIXME
|
||||
return (nil == myHandler) ? nil : myHandler->_lastError;
|
||||
}
|
||||
|
||||
- (void) setDelegate: (id)delegate
|
||||
|
@ -875,10 +875,13 @@ static SEL foundIgnorableSel;
|
|||
|
||||
- (BOOL) _parseError: (NSString *)message code: (NSInteger)code
|
||||
{
|
||||
NSDictionary *info = nil;
|
||||
|
||||
message = [NSString stringWithFormat: @"line %d, column %d ... %@",
|
||||
this->line, this->column, message];
|
||||
#if EXTRA_DEBUG
|
||||
NSLog(@"XML parseError: %@", message);
|
||||
#endif
|
||||
NSDictionary *info = nil;
|
||||
|
||||
[this->error release];
|
||||
if (message != nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue