Skip to content

Commit 1b59d50

Browse files
committed
fix: wrong extra name for xml validation
It would warn about missing xml validation and suggest installing the json-validation extra instead of the xml one. Fix by suggesting the correct extra.
1 parent 3a2e427 commit 1b59d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclonedx/validation/xml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
except ImportError as err:
3838
_missing_deps_error = MissingOptionalDependencyException(
3939
'This functionality requires optional dependencies.\n'
40-
'Please install `cyclonedx-python-lib` with the extra "json-validation".\n'
40+
'Please install `cyclonedx-python-lib` with the extra "xml-validation".\n'
4141
), err
4242

4343

0 commit comments

Comments
 (0)