diff -r 3abde7651c38 -r 14b40afccd69 xmlclass/xsdschema.py --- a/xmlclass/xsdschema.py Tue Oct 03 16:12:55 2017 +0300 +++ b/xmlclass/xsdschema.py Tue Oct 03 16:31:31 2017 +0300 @@ -459,10 +459,6 @@ # Generate extract value for new created type def ExtractSimpleTypeValue(attr, extract=True): - if extract: - value = GetAttributeValue(attr) - else: - value = attr for infos in membertypesinfos: try: return infos["extract"](attr, False)