79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
}
@end
int
main()
{
const char *foo = "bar<foo:bar bar='b&az' qux=\"quux\">foo<bar"
"<qux >bar<baz name='' test='&foo;'/>quxbar</xasd>";
size_t len = strlen(foo);
size_t i;
OFXMLParser *parser = [OFXMLParser xmlParser];
[parser setDelegate: [[ParserDelegate alloc] init]];
/* Simulate a stream where we only get chunks */
|
|
|
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
}
@end
int
main()
{
const char *foo = "bar<foo:bar bar='b&az' qux=\"quux\">foo<bar"
"<qux >bar<baz name='' test='&foo;'/>quxbar</qux></foo:bar>";
size_t len = strlen(foo);
size_t i;
OFXMLParser *parser = [OFXMLParser xmlParser];
[parser setDelegate: [[ParserDelegate alloc] init]];
/* Simulate a stream where we only get chunks */
|