ObjFW  Diff

Differences From Artifact [42011eb439]:

To Artifact [437a042341]:


170
171
172
173
174
175
176
177

178
179
180
181
182
183

184
185
186
187
188

189
190
191
192
193

194
195
196
197
198
199
200
170
171
172
173
174
175
176

177
178
179
180
181
182

183
184
185
186
187

188
189
190
191
192

193
194
195
196
197
198
199
200







-
+





-
+




-
+




-
+







	size_t _lineNumber;
	bool _lastCarriageReturn, _finishedParsing;
	of_string_encoding_t _encoding;
	size_t _depthLimit;
}

/*!
 * The delegate that is used by the XML parser.
 * @brief The delegate that is used by the XML parser.
 */
@property OF_NULLABLE_PROPERTY (assign, nonatomic)
    id <OFXMLParserDelegate> delegate;

/*!
 * The current line number.
 * @brief The current line number.
 */
@property (readonly, nonatomic) size_t lineNumber;

/*!
 * @return Whether the XML parser has finished parsing.
 * @brief Whether the XML parser has finished parsing.
 */
@property (readonly, nonatomic) bool hasFinishedParsing;

/*!
 * The depth limit for the XML parser.
 * @brief The depth limit for the XML parser.
 *
 * If the depth limit is exceeded, an OFMalformedXMLException is thrown.
 *
 * The default is 32. 0 means unlimited (insecure!).
 */
@property (nonatomic) size_t depthLimit;