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

Add Version attribute to Event element so XML fragments can state the schema version they should be validate with #102

Open
at055612 opened this issue Oct 24, 2024 · 0 comments

Comments

@at055612
Copy link
Member

When we receive XML fragments, e.g. from the event-logging java library we just get a stream of

<Event>
  ...
</Event>
<Event>
  ...
</Event>
<Event>
  ...
</Event>

so we have no <Events Version="4.1.0"> to tell us what schema the xml adheres to.

Adding an optional Version attribute to Event would allow us to see the version for each event and potentially make decisions on. It would be optional as it is not needed in the case where there is a wrapper Events element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant