def validate(self, messages):
messages = self.validate_ext_doc_id(messages)<EOL>messages = self.validate_spdx_doc_uri(messages)<EOL>messages = self.validate_checksum(messages)<EOL>return messages<EOL>
Validate all fields of the ExternalDocumentRef class and update the
messages list with user friendly error messages for display.