xmllite/tests: Fix node type names array, indices are sparse.
This commit is contained in:
parent
2c9633f676
commit
6b912966a9
|
@ -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"
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue