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
Can't create C# classes using XSD.exe #10195
Comments
This is a moving target so please specify the version used (though I can reproduce the problem with the current master, 1.9.8 (2777acd) and an empty project). The message:
It looks like the
so the group in the group or choice in choice gives some problems.
|
@albert-github - Thanks for the prompt response. First the easy part, I can confirm I am using 2777acd As for "why", that is more complicated. I am looking to perform some analytics. Rather than attempting to parse source code, using the DoxyGen XML files seemed good (still does!), but then there was the choices in a .Net world of how to load them, and I was investingating XSD for strongly typed classes... Not familiar with doxmlparse... will have to look that up. |
Original code looks like to be valid xsd code, working around on quirk of `xsd.exe`
I've just pushed a proposed patch, pull request #10196 |
Thanks. That gave me an idea (though I really wish MFST would update XSD to properly support Circular - and svcutil is not a great option either). [Please feel free to Close this] |
issue #10195 Cant create C# classes using XSD.exe
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
Describe the bug
Attempting to use Microsoft Visual Studio Tool to generate classes from CSD files here in the repository.
Expected behavior
Tool runs without errors.
Screenshots
Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 4.8.3928.0]
Copyright (C) Microsoft Corporation. All rights reserved.
Error: Error generating classes for schema 'C:\Usedoxygen --rs\david_corbin\source\repos\doxygen\templates\xml\compound'.
To Reproduce
xsd /c compound.xsd
Version
Current clone of Repository
Stack trace
N/A
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: