Details
Description
For all function calls of XMLChar1_x::isValidName(const XMLCh* const toCheck, const unsigned int count) a null-terminated string is used. In most cases we calculate the length of the string and pass it as second parameter. Since we have to check all characters anyways and know the string ends with a null, there is no reason to calculate and pass the length to the function.
I extended the XMLChar1_x class with two functions which takes only null-terminated strings without length information and removed the length from all existing old functions calls.
~Christian