I noticed the rapidxml parses illegal <<element/>
to an element named <element
, instead of producing an error.
I think the problem is the definition of lookup_node_name
. The comment is
// Node name (anything but space \n \r \t / > ? \0)
What I understand from the w3.org specification is that a name can have letters, numbers, and a few other characters.
I'm not sure what will be a correct fix. Any suggestions?