new element parsing. reasonable set of test cases.

This commit is contained in:
Lee Thomason
2012-01-24 16:01:51 -08:00
parent 5492a1c705
commit 67d6131d74
4 changed files with 98 additions and 72 deletions

View File

@@ -39,6 +39,8 @@ int main( int argc, const char* argv )
"<element attrib1='foo' attrib2=\"bar\" ></element>",
"<element attrib1='foo' attrib2=\"bar\" ><subelement attrib3='yeehaa' /></element>",
"<element>Text inside element.</element>",
"<element><b></b></element>",
"<element>Text inside and <b>bolded</b> in the element.</element>",
0
};
for( int i=0; test[i]; ++i ) {