Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 1369 [details]
files for reproducing the bug
Description of Problem:
I ran an XML validation sample from http://msdn.microsoft.com/en-us/library/ms172454.aspx twice: First with the .NET 4.0 runtime and then with mono 2.10.5 on Ubuntu and mono 2.10.6 on Windows 7. .NET and mono produced different results, of which the mono results are invalid, I think.
Steps to reproduce the problem:
1. Add contosoBooks.xml, contosoBooks.xsd and Main.cs of the attached archive to a new ConsoleApplication project.
2. Configure the .xml and .xsd files as "Always Copy" to output directory.
3. Run the application.
The console output indicates that the sample xml file is not valid according to the provided schema.
The output is in the attachment: output_mono.txt
The sample xml is valid, according to a manual check of xml and xsd files, as well as the .NET runtime output, which can be found in output_net.txt in the attachment.
How often does this happen?
Win 7: .NET Framework 4.0; VS2010
Win 7: MONO 2.10.6; MonoDevelop 188.8.131.52
Ubuntu 11.10: MONO 2.10.5; MonoDevelop 2.6 and 2.8.6
Thanks for the report. Fixed in git master (as of 8062ba1). I couldn't add test that was pulled from MSDN (copyright issue).