const xmlChar *s;
//return nil;
s = self->getPublicId ? self->getPublicId(self->ctx) : NULL;
- return s ? [NSString stringWithCString:s] : nil;
+ return s ? [NSString stringWithCString:(const char *)s] : nil;
}
- (NSString *)systemId {
const xmlChar *s;
//return nil;
s = self->getSystemId ? self->getSystemId(self->ctx) : NULL;
- return s ? [NSString stringWithCString:s] : nil;
+ return s ? [NSString stringWithCString:(const char *)s] : nil;
}
/* description */
- (NSString *)description {
- return [NSString stringWithFormat:@"<0x%08X[%@]: pub=%@ sys=%@ L%i C%i>",
+ return [NSString stringWithFormat:@"<0x%p[%@]: pub=%@ sys=%@ L%i C%i>",
self, NSStringFromClass([self class]),
[self publicId], [self systemId],
[self lineNumber], [self columnNumber]];