Closed ajnelson-nist closed 3 years ago
I encountered this error at the end of a decently long stack trace:
TypeError: startswith first arg must be str or a tuple of str, not DefinedNamespaceMeta
while attempting to validate this file: https://github.com/casework/CASE-Examples/blob/master/examples/illustrations/exif_data/exif_data.json
(The Make target that failed was check-0.3.0, for CASE 0.3.0 and UCO 0.5.0. These version details might be moot.)
Casting the XSD namespace variable as a string fixed the input-type error.
Signed-off-by: Alex Nelson alexander.nelson@nist.gov
I encountered this error at the end of a decently long stack trace:
while attempting to validate this file: https://github.com/casework/CASE-Examples/blob/master/examples/illustrations/exif_data/exif_data.json
(The Make target that failed was check-0.3.0, for CASE 0.3.0 and UCO 0.5.0. These version details might be moot.)
Casting the XSD namespace variable as a string fixed the input-type error.
Signed-off-by: Alex Nelson alexander.nelson@nist.gov