beremiz
Clone
Summary
Browse
Changes
Graph
fix reducing groups with ordered elements
2017-05-18, Surkov Sergey
57b4ac796dcb
Parents
496029f768d9
Children
1447424a7029
fix reducing groups with ordered elements
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
xmlclass/xsdschema.py
--- a/xmlclass/xsdschema.py Wed May 03 11:03:44 2017 +0300
+++ b/xmlclass/xsdschema.py Thu May 18 18:00:56 2017 +0300
@@ -860,7 +860,7 @@
if element["type"] == CHOICE:
group["choices"] = element["choices"]
else:
- group.update({"elements": element["elements"], "order": group["order"]})
+ group.update({"elements": element["elements"], "order": element["order"]})
group.update(attributes)
return group