Seems in the method below whitespace is skipped twice:
TiXmlNode* TiXmlNode::Identify( const char* p ) { TiXmlNode* returnNode = 0;
p = SkipWhiteSpace( p ); if( !p || !*p || *p != '<' ) { return 0; }
TiXmlDocument* doc = GetDocument(); p = SkipWhiteSpace( p );
if ( !p || !*p ) { return 0; }
Log in to post a comment.
Seems in the method below whitespace is skipped twice:
TiXmlNode* TiXmlNode::Identify( const char* p )
{
TiXmlNode* returnNode = 0;
p = SkipWhiteSpace( p );
if( !p || !*p || *p != '<' )
{
return 0;
}
TiXmlDocument* doc = GetDocument();
p = SkipWhiteSpace( p );
if ( !p || !*p )
{
return 0;
}