- (void)pushPrefix:(NSString *)_prefix namespace:(NSString *)_namespace {
[self _checkPrefixStack];
- [self->stack addObject:(_prefix) ? _prefix : @""];
- [self->stack addObject:(_namespace) ? _namespace : @""];
+ [self->stack addObject:(_prefix) ? _prefix : (NSString *)@""];
+ [self->stack addObject:(_namespace) ? _namespace : (NSString *)@""];
}
- (void)popPrefixAndNamespace {
attr = [_attrs objectAtIndex:j];
attrNamespace = [attr namespaceURI];
attrPrefix = [attr prefix];
- attrNamespace = (attrNamespace) ? attrNamespace : @"";
- attrPrefix = (attrPrefix) ? attrPrefix : @"";
+ attrNamespace = (attrNamespace) ? attrNamespace : (NSString *)@"";
+ attrPrefix = (attrPrefix) ? attrPrefix : (NSString *)@"";
if (([attrNamespace length] == 0 && [attrPrefix length] == 0)) continue;