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

Fix issue #168: Force XML document declaration to be output before 'characters' event #206

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

brackleian
Copy link

The 'characters' writer event could not be used to output text after
the document declaration, only before it or after the first XML element.
This change ensures that the document declaration will be output before
the text. Arbitrary text can still be output at the start of the file,
if needed, by writing directly using the inner_mut method.

Addresses issue #168.

The 'characters' writer event could not be used to output text after
the document declaration, only before it or after the first XML element.
This change ensures that the document declaration will be output before
the text.  Arbitrary text can still be output at the start of the file,
if needed, by writing directly using the inner_mut method.

Addresses issue netvl#168.
@brackleian brackleian changed the title Force XML document declaration to be output before characters Fix issue #168: Force XML document declaration to be output before 'characters' event Jun 20, 2021
@netvl
Copy link
Owner

netvl commented Jul 29, 2021

Thanks!

@netvl netvl merged commit 8ab3284 into netvl:master Jul 29, 2021
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.

2 participants