Skip to content

fix: multiple documents starting with a tag - #1481

Merged
SGSSGene merged 1 commit into
jbeder:masterfrom
SGSSGene:fix/muilt_docs_tags
Aug 14, 2026
Merged

fix: multiple documents starting with a tag#1481
SGSSGene merged 1 commit into
jbeder:masterfrom
SGSSGene:fix/muilt_docs_tags

Conversation

@SGSSGene

Copy link
Copy Markdown
Collaborator

fixes #321

When emitting multiple documents and the documents start with a tag, this caused the emitter state to go into an invalid state, stopping to emit any data.
Even though a tag was emitter, the next value (e.g.: a scalar) trigger another start of the document.

This is fixed by tightening the constraints when to emit the start of the document.

When emitting multiple documents and the documents start with a tag,
this caused the emitter state to go into an invalid state, stopping to
emit any data.
Even though a tag was emitter, the next value (e.g.: a scalar) trigger
another start of the document.

This is fixed by tightening the constraints when to emit the start of
the document.
@SGSSGene
SGSSGene merged commit c3f8112 into jbeder:master Aug 14, 2026
46 checks passed
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.

Emitting multiple documents with tags fails

1 participant