event-logging-schema icon indicating copy to clipboard operation
event-logging-schema copied to clipboard

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

Open at055612 opened this issue 1 year ago • 0 comments

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.

at055612 avatar Oct 24 '24 11:10 at055612