Maybe bug in rapidxml - but I'm not sure how to fix

darppayomia

New Member
I noticed the rapidxml parses illegal \[code\]<<element/>\[/code\] to an element named \[code\]<element\[/code\], instead of producing an error.I think the problem is the definition of \[code\]lookup_node_name\[/code\]. The comment is\[code\]// Node name (anything but space \n \r \t / > ? \0)\[/code\]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?
 
Back
Top