I'm getting a strange error with rapidxml when parsing a xml file like
<?xml version="1.0" encoding="UTF-8"?>
<IMG align="left"
src="http://www.w3.org/Icons/WWW/w3c_home" />
It throws "expected >". Im using a code like the following to parse the data
std::fstream file("./test.xml");
std::istream_iterator<char> eos;
std::istream_iterator<char> iit (file);
std::vector<char> xml(iit, eos);
xml.push_back('\0');
xml_document<> doc;
doc.parse<0>(&xml[0]);
the "/" symbol in the IMG rag seems t be the problem. Is this a rapidxml bug or am I doing something wrong?