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

Allow for XML postlog #329

Merged
merged 1 commit into from
Jun 10, 2022
Merged

Allow for XML postlog #329

merged 1 commit into from
Jun 10, 2022

Conversation

satabin
Copy link
Member

@satabin satabin commented Jun 9, 2022

The specification allows for misc appearing after the root element,
and the event parser should support this, as well as the document
builder.

Since a stream can contain concatenated XML documents, a choice has to
be made regarding how misc is associated between 2 documents in the
stream. This implementation makes the choice to associate the misc as
postlog of the previous document since it allows to emit early without
knowing what comes next (i.e. whether the stream actually contains only
one document or several documents).

@satabin satabin added enhancement New feature or request xml labels Jun 9, 2022
@satabin satabin added this to the 1.4.0 milestone Jun 9, 2022
@satabin satabin requested a review from ybasket June 9, 2022 16:17
The specification allows for `misc` appearing after the root element,
and the event parser should support this, as well as the document
builder.

Since a stream can contain concatenated XML documents, a choice has to
be made regarding how misc is associated between 2 documents in the
stream. This implementation makes the choice to associate the misc as
postlog of the previous document since it allows to emit early without
knowing what comes next (i.e. whether the stream actually contains only
one document or several documents).
@satabin satabin merged commit 9822bf2 into main Jun 10, 2022
@satabin satabin deleted the xml/postlog branch June 10, 2022 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request xml
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants