Closed win911 closed 5 years ago
This does appear to be a bug. Empty hashes are schema compliant, but conceptually don't make much sense, at least for an "equals" comparison. They aren't valid. It might make more sense to leave the SHA256 and SHA1 hash elements out of the XML altogether. What was the intent of this content?
Fixed in #321 .
According to the following schema, hash value is allowed to be empty because there is no 'minLength' setting.
But I got an error when I parsed the following STIX file.
Error
script.py