Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Handle "0-1" definitions of boolean in .xsd #103

Merged
merged 2 commits into from
Feb 21, 2019
Merged

Conversation

david-days
Copy link

Hello. I've been doing C# development for a variety of XML services, and I occasionally encounter a schema definition that uses numeral 1 or 0 to define true/false.

I recently have been working on a project that uses that same kind of schema definition, and your utility has been able to handle complex, interlocking definitions a lot better than any other FOSS tool that I've come across. However, I had to make this small change to complete the code generation.

I'm submitting this PR in order to give back to the project.

@codecov
Copy link

codecov bot commented Feb 20, 2019

Codecov Report

Merging #103 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   96.98%   96.99%   +0.01%     
==========================================
  Files          17       17              
  Lines        2950     2961      +11     
==========================================
+ Hits         2861     2872      +11     
  Misses         89       89
Impacted Files Coverage Δ
XmlSchemaClassGenerator/TypeModel.cs 96.94% <100%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f77c79a...c19f626. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Feb 20, 2019

Codecov Report

Merging #103 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   96.98%   96.99%   +0.01%     
==========================================
  Files          17       17              
  Lines        2950     2961      +11     
==========================================
+ Hits         2861     2872      +11     
  Misses         89       89
Impacted Files Coverage Δ
XmlSchemaClassGenerator/TypeModel.cs 96.94% <100%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f77c79a...c19f626. Read the comment docs.

@mganss mganss merged commit c19f626 into mganss:master Feb 21, 2019
@mganss
Copy link
Owner

mganss commented Feb 21, 2019

Thanks! Released in 2.0.212.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants