Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New constraint violation - createdBy does not have class Agent #170

Closed
goneall opened this issue Dec 9, 2024 · 2 comments
Closed

New constraint violation - createdBy does not have class Agent #170

goneall opened this issue Dec 9, 2024 · 2 comments

Comments

@goneall
Copy link
Member

goneall commented Dec 9, 2024

Testing the latest model output with PR #169 and draft PR spdx/spdx-3-model#937 results in the following constraint violation:

Constraint Violation in ClassConstraintComponent (http://www.w3.org/ns/shacl#ClassConstraintComponent):
        Severity: sh:Violation
        Source Shape: [ sh:class ns1:Agent ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:nodeKind sh:IRI ; sh:path ns1:createdBy ]
        Focus Node: <https://spdx.org/rdf/3.0.1/creationInfo_NoAssertionLicense>
        Value Node: <https://spdx.org/>
        Result Path: ns1:createdBy
        Message: Value does not have class ns1:Agent
@goneall
Copy link
Member Author

goneall commented Dec 9, 2024

I'll do some research to narrow the problem down - it could also be something in my local test environment.

@goneall
Copy link
Member Author

goneall commented Dec 9, 2024

Nevermind - this is the previous issue reported #166

@goneall goneall closed this as completed Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant