The SPDX spec is ambiguous with respect to if the SnippetFromFileSPDXID is required for snippets or if a snippet immediately following a file is assumed to belong to that file (see SPDX Spec issue #651).
The tag/value parser could be enhanced to associate the snippet with the immediately preceeding SPDX file if the SnippetFromFileSPDXID is not present.
The SPDX spec is ambiguous with respect to if the
SnippetFromFileSPDXID
is required for snippets or if a snippet immediately following a file is assumed to belong to that file (see SPDX Spec issue #651).The tag/value parser could be enhanced to associate the snippet with the immediately preceeding SPDX file if the
SnippetFromFileSPDXID
is not present.