Differences From Artifact [0ff2c07a09]:
- File
src/OFXMLParser.m
— part of check-in
[ed63c0fdc1]
at
2010-07-29 19:32:33
on branch trunk
— Comply with section 6.2 of XML namespaces.
More specifically to this:
"The namespace name for an unprefixed attribute name always has no
value." (user: js, size: 16373) [annotate] [blame] [check-ins using]
To Artifact [156503de2d]:
- File
src/OFXMLParser.m
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 16375) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
103 104 105 106 107 108 109 |
}
return self;
}
- (void)dealloc
{
| | | | | | | | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
}
return self;
}
- (void)dealloc
{
[(id)delegate release];
[cache release];
[name release];
[prefix release];
[namespaces release];
[attrs release];
[attrName release];
[attrPrefix release];
[previous release];
[super dealloc];
}
- (id <OFXMLParserDelegate>)delegate
{
return [[(id)delegate retain] autorelease];
}
- (void)setDelegate: (id <OFXMLParserDelegate>)delegate_
{
[(id)delegate_ retain];
[(id)delegate release];
delegate = delegate_;
}
- (void)parseBuffer: (const char*)buf
withSize: (size_t)size
{
OFAutoreleasePool *pool;
|
| ︙ | ︙ |