1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <stdio.h>
#include <sys/time.h>
#include <string>
#include <sstream>
#include <DOM/SAX2DOM/SAX2DOM.hpp>
#include <SAX/InputSource.hpp>
#include "tools.h"
void initXML(struct TestData *td) {
}
void releaseXML(struct TestData *td) {
}
/* Drops core with Sep02, Jan03 versions */
void parseXML(struct TestData *td, unsigned long iter) {
Arabica::SAX2DOM::Parser<std::string> parser;
std::istringstream strm(td->xml);
Arabica::SAX::InputSource<std::string> is(strm);
parser.parse(is);
}
int main(int argc, char *argv[]) {
return Test(argc,argv);
}
|