fix merge

This commit is contained in:
Lee Thomason (grinliz)
2012-09-08 21:44:12 -07:00
2 changed files with 10 additions and 8 deletions

View File

@@ -940,6 +940,13 @@ int main( int /*argc*/, const char ** /*argv*/ )
XMLTest( "QueryBoolText", boolValue, true, false );
}
{
const char* xml = "<element><_sub/><:sub/><sub:sub/><sub-sub/></element>";
XMLDocument doc;
doc.Parse( xml );
XMLTest( "Non-alpha element lead letter parses.", doc.Error(), false );
}
// ----------- Whitespace ------------
{
const char* xml = "<element>"
@@ -958,7 +965,6 @@ int main( int /*argc*/, const char ** /*argv*/ )
XMLTest( "Whitespace collapse", "This is ' text '", parent->GetText() );
}
}
// ----------- Performance tracking --------------
{