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

Xsd format fixes misc features #20

Merged
merged 14 commits into from
Feb 15, 2020
Merged

Conversation

Siphonophora
Copy link
Collaborator

Addresses #12, #16, #17, #18.

@Siphonophora
Copy link
Collaborator Author

@codito Hey, if you are around and want to take a look that would be great. Otherwise I will merge and try to get the issue creators to review a pre-release version. Either way, getting the xsd validation should be a clear improvement.

I will also do some testing against at least the gitlab parser before I merge.

@@ -282,9 +312,18 @@ internal void TestRunCompleteHandler(object sender, TestRunCompleteEventArgs e)
Directory.CreateDirectory(loggerFileDirPath);
}

var settings = new XmlWriterSettings()
{
Encoding = new UTF8Encoding(this.FileEncodingOption == FileEncoding.UTF8 ? false : true),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.FileEncodingOption == FileEncoding.UTF8 should work.

Copy link
Contributor

@codito codito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks. Please consider adding a Changelog and changing default file save behavior to without BOM.

@Siphonophora Siphonophora merged commit fdfa17d into master Feb 15, 2020
@Siphonophora Siphonophora deleted the xsd-format-fixes_misc-features branch February 15, 2020 20:52
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