There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Support for DTD definitions in schema
The xmlschema reader in .net has prohibitdtd set to true by default, This should be an option we could set in gui or on cmdline.
When trying to generate code, an exception is thrown from xmlschemaset with an error message saying that a type in the schema with dtd definitions, is not defined.
Attached is a schema that reproduces the problem and generator.cs file with a solution to the problem.