Skip to content

Specify the policy for whitespace in XML format attributes#1179

Merged
duglin merged 1 commit into
cloudevents:mainfrom
jskeet:xml-whitespace
Mar 30, 2023
Merged

Specify the policy for whitespace in XML format attributes#1179
duglin merged 1 commit into
cloudevents:mainfrom
jskeet:xml-whitespace

Conversation

@jskeet
Copy link
Copy Markdown
Contributor

@jskeet jskeet commented Mar 24, 2023

Fixes #1004.

I wasn't sure whether providing the parenthetical example was useful - I hope so. We could go further and explain why we prohibit line breaks (i.e. because no valid attribute value can ever contain a line break) but I wasn't sure whether that was worth it.

Fixes cloudevents#1004.

Signed-off-by: Jon Skeet <jonskeet@google.com>
@jskeet jskeet requested review from JemDay and duglin March 24, 2023 14:34
@duglin
Copy link
Copy Markdown
Collaborator

duglin commented Mar 30, 2023

LGTM

@duglin
Copy link
Copy Markdown
Collaborator

duglin commented Mar 30, 2023

Approved on the 3/30 call
@clemensv to create a PR/issue to define a schema for the "ce" XSI prefix

@duglin duglin merged commit 84cc657 into cloudevents:main Mar 30, 2023
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.

XML format: do we have a whitespace policy?

2 participants