We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4e7849 + 9ccabb2 commit 319bd6bCopy full SHA for 319bd6b
reqif/parsers/attribute_definition_parser.py
@@ -208,7 +208,8 @@ def parse_attribute_definitions(
208
xml_values = xml_attribute_value.find("VALUES")
209
if xml_values is not None:
210
xml_enum_value_ref = xml_values.find("ENUM-VALUE-REF")
211
- default_value = xml_enum_value_ref.text
+ if xml_enum_value_ref is not None:
212
+ default_value = xml_enum_value_ref.text
213
else:
214
raise NotImplementedError
215
elif attribute_definition.tag == "ATTRIBUTE-DEFINITION-DATE":
0 commit comments