attribute support

This commit is contained in:
Lee Thomason
2012-01-23 13:29:35 -08:00
parent ec975cede8
commit 22aead1c73
4 changed files with 12 additions and 4 deletions

View File

@@ -28,13 +28,15 @@ int main( int argc, const char* argv )
}
#endif
{
static const char* test[] = { "<!--single element-->",
static const char* test[] = { //"<!--single element-->",
"<element />",
"<element></element>",
"<!--single sub-element-->",
//"<!--single sub-element-->",
"<element><subelement/></element>",
"<element><subelement></subelement></element>",
"<!--comment beside elements--><element><subelement></subelement></element>",
"<!--comment beside elements, this time with spaces--> \n <element> <subelement> \n </subelement> </element>",
"<element attrib1='foo' attrib2=\"bar\" ></element>",
0
};
for( int i=0; test[i]; ++i ) {