Skip to content

Conversation

duglin
Copy link
Collaborator

@duglin duglin commented Apr 17, 2025

Fixes #1014

OPTIONAL CloudEvent extension context attributes XML elements. From an XSD
perspective, this is the equivalent of there being an
`<xs:any minOccurs="0"/>` element defined as a sibling to the other
CloudEvent context attribute XML elements.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the only real change in the PR. The rest of it was just pretty-printing things to wrap at 80 columns

Copy link
Contributor

Choose a reason for hiding this comment

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

I think "optional" is confusing here - it suggests that any "required" CloudEvent extension context attributes aren't included here. In the context of extensions, "required" only means "required if you're using the extension" (see our deprecation extension for an example).

I think we should just remove OPTIONAL here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done!

Copy link
Contributor

@jskeet jskeet left a comment

Choose a reason for hiding this comment

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

Thanks :)

@duglin
Copy link
Collaborator Author

duglin commented Apr 30, 2025

on hold - waiting for @JemDay to propose some alternative text

@duglin
Copy link
Collaborator Author

duglin commented Jul 3, 2025

@JemDay any update?

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.

Named Element 'ExtensionAttributes' of Type any
2 participants