Skip to content

fix: multiple documents starting with a tag - #1481

Open
SGSSGene wants to merge 1 commit into
jbeder:masterfrom
SGSSGene:fix/muilt_docs_tags
Open

fix: multiple documents starting with a tag#1481
SGSSGene wants to merge 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.
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