xmllite/tests: Fix node type names array, indices are sparse.

This commit is contained in:
Nikolay Sivov 2010-01-27 13:49:18 +03:00 committed by Alexandre Julliard
parent 2c9633f676
commit 6b912966a9
1 changed files with 5 additions and 0 deletions

View File

@ -193,11 +193,16 @@ static const char *type_to_str(XmlNodeType type)
"XmlNodeType_Attribute",
"XmlNodeType_Text",
"XmlNodeType_CDATA",
"", "",
"XmlNodeType_ProcessingInstruction",
"XmlNodeType_Comment",
"",
"XmlNodeType_DocumentType",
"", "",
"XmlNodeType_Whitespace",
"",
"XmlNodeType_EndElement",
"",
"XmlNodeType_XmlDeclaration"
};