From 4e45368dee0b1f512fc61150ea98083142c236a9 Mon Sep 17 00:00:00 2001 From: Zhenyu Zheng Date: Sun, 5 Jan 2025 10:09:40 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Arthit Suriyawongkul Signed-off-by: Zhenyu Zheng --- model/Core/Classes/NamespaceMap.md | 1 + model/Core/Individuals/NoAssertionElement.md | 2 -- model/Core/Properties/comment.md | 2 -- model/Core/Properties/definingArtifact.md | 2 -- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/model/Core/Classes/NamespaceMap.md b/model/Core/Classes/NamespaceMap.md index 82e5d1264..0fd8646be 100644 --- a/model/Core/Classes/NamespaceMap.md +++ b/model/Core/Classes/NamespaceMap.md @@ -75,6 +75,7 @@ Namespace maps support a variety of relevant use cases such as: 有关如何序列化`NamespaceMap`内容的详细信息,请参阅[模型和序列化](../../../serializations.md)以及[spdx-3-model存储库](https://github.com/spdx/spdx-3-model/tree/main/serialization)中各种序列化格式的文件。 `NamespaceMap`支持各种相关的用例,例如: + 1. SPDX内容生产者希望使其SPDX 2.X简单样式集合的序列化清晰明确,其中所有内容都是新生成的,并且使用单一前缀-命名空间。SPDX内容消费者希望保留此类生产者提供的`NamespaceMap`。 在这种情况下,消费者可以记录`NamespaceMap`中的前缀,以便后续序列化使用原生序列化格式复现前缀/命名空间。 diff --git a/model/Core/Individuals/NoAssertionElement.md b/model/Core/Individuals/NoAssertionElement.md index 197f89384..ee9fd6830 100644 --- a/model/Core/Individuals/NoAssertionElement.md +++ b/model/Core/Individuals/NoAssertionElement.md @@ -45,6 +45,4 @@ no assertion is being made about any potential descendants of Element1. - SPDX创建者尝试但无法达成合理的客观判断; - SPDX创建者未尝试确定此字段; - SPDX创建者故意不提供信息(这样做不应被暗示为有任何含义)。 - - 例如,关系`relationshipType=ancestorOf`、`from=Element1`和`to=NoAssertionElement`明确表示不对`Element1`的任何潜在后代作出任何断言。 diff --git a/model/Core/Properties/comment.md b/model/Core/Properties/comment.md index 9db4b5283..acae9e8dc 100644 --- a/model/Core/Properties/comment.md +++ b/model/Core/Properties/comment.md @@ -17,8 +17,6 @@ to the readers/reviewers of the document. - name: comment - Nature: DataProperty - Range: xsd:string - - ## Summary @zh-Hans 向消费者提供来自于`Element`创建者的`Element`评论。 diff --git a/model/Core/Properties/definingArtifact.md b/model/Core/Properties/definingArtifact.md index 2c2a6db20..93e3b8637 100644 --- a/model/Core/Properties/definingArtifact.md +++ b/model/Core/Properties/definingArtifact.md @@ -19,8 +19,6 @@ the Element. - name: definingArtifact - Nature: ObjectProperty - Range: Artifact - - ## Summary @zh-Hans 代表包含特定`Element`定义的SPDX数据的序列化实例的`Artifact`。