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

reordering of global-attribute in text and full cddl #37

Merged
merged 3 commits into from
Feb 21, 2021
Merged

Conversation

henkbirkholz
Copy link
Member

fixes #29

reduced the quantity of evidence or payload to one
changed any-uri from text to uri
}

payload-or-evidence //= ( payload => payload-entry )
payload-or-evidence //= ( payload => [ 2* payload-entry ] )
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an unrelated change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, that is a change that leaked over from the "isomorphic issue"

}

evidence-entry = {
resource-collection,
? date => time,
? date => #6.1(int),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better style to add a

integer-time = #6.1(int)

and reference that here.


any-uri = text
any-uri = uri
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack

@cabo cabo changed the title reodering of global-attribute in text and full cddl reordering of global-attribute in text and full cddl Feb 18, 2021
concise-swid-tag.cddl Outdated Show resolved Hide resolved
@henkbirkholz henkbirkholz merged commit 1f5f3ac into master Feb 21, 2021
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

Successfully merging this pull request may close these issues.

can't use CDDL to validate seemingly valid CBOR
2 participants