c++ - Maybe bug in rapidxml - but I'm not sure how to fix -
i noticed rapidxml parses illegal <<element/> element named <element, instead of producing error.
i think problem definition of lookup_node_name. comment is
// node name (anything space \n \r \t / > ? \0) what understand w3.org specification name can have letters, numbers, , few other characters.
i'm not sure correct fix. suggestions?
from looking @ rapidxml code, lookup_node_name lookup table of valid name characters, , comment says, specific few prohibited.
i'd try adding '< list of prohibited characters setting lookup entry ascii char 0x3c 0 1. ie, on line relating chars 0x30..0x3f, change this...
// 0 1 2 3 4 5 6 7 8 9 b c d e f ... 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, // 3 to this:
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, // 3 that may work you, haven't tried it. see you've tried contact developer via sourceforge, best approach...
Comments
Post a Comment