diff --git a/tools/nodeset_compiler/type_parser.py b/tools/nodeset_compiler/type_parser.py index 39dd961e2..c46952fcf 100644 --- a/tools/nodeset_compiler/type_parser.py +++ b/tools/nodeset_compiler/type_parser.py @@ -302,7 +302,7 @@ class TypeParser(): return True return False - snippets = {} + snippets = OrderedDict() xmlDoc = etree.iterparse( xmlDescription, events=['start-ns'] )