I decode SPDX files using your utility. However, some files result in missing file details; this is typically the case when both package and file information are present in the spdx file.
doc, err := tagvalue.Read(reader) if err != nil { return &models.Result{}, err }
Please refer following spdx file for referance.
https://github.com/lfscanning/spdx-lfenergy/blob/main/Carbon-Data-Spec/2023-12/Carbon-Data-Spec-2023-12-22.spdx