Required is a simple XML Parser which calls the following callback functions when parsing the corresponding XML elements (SAX parser):
startDocument();
endDocument();
startNode(char* nodeName);
endNode();
attribute(char* nodeName, char* attributeName, char* attributeValue);
// cancel is called when a parsing error occurs
// in this case all following elements are ignored until the start of the next document is recognized.
cancel();
XML comments are ignored.
The code must be free of copyrights.
The code has to be commented in english.
The input is parsed by subsequent calls to the parseBuffer funktion, which processes count characters in the input buffer.
parseBuffer(char buffer, int count);
To test the parser a console application has to be implemented which reads n characters from an XML file and calls parseBuffer until eof. The number of characters n is set to a random number on each loop.
There may be an arbirtrary number of XML documents on the test file.
The callback functions in the test environment should acknowledge the call by printing the function name and the parameters to the console.
The software must be runnable on windows and linux. Therefore it must not use any windows or linux specific functions.
You will work on a subversion repository to which you will get access. Therefore you will have to install a subversion client (for example tortoise svn) on you r computer.
If you have any questions, just ask.
I have a lot of knowledge and experience in C/C++, more than 8 years of experience. I have worked with xml, function pointers and callback before. I can help you. Please contact me.
$94 USD in 2 days
5.0 (2 reviews)
2.2
2.2
14 freelancers are bidding on average $187 USD for this job
Hello, I am expert and dedicated in C/C++ Development.I am very much interested for your project. I can complete your project quickly and efficiently in time. Details will be discussed in the message.
Hello sir. I am interested for this job. I have great experience with c/c++/c# programming. If you need serious man who can start right now, then I am perfect choice.
Regards
vladang