Mono validation of NHibernate's cfg.xml file
c#, mono, nhibernate, xsd
Solution
This Mono bug looks relevant - but it was fixed last September.
Which version of Mono are you using, and have you tried the most recent version?
In particular, I've just tried your test code on Mono 2.4 on Linux, and it worked fine.
Problem
I'm trying to set up NHibernate in Mono, to store objects in SQLite. I've copied/pasted the example configuration file. I only have the following two lines of code: ``` var config = new Configuration(); config.Configure(); ``` Which result in the following ungrammatical validation exception: System.InvalidOperationException : Unexpected attempt to validation state transition from Finished to Content was happened. I'm not sure what the problem is. If the problem is Mono specific, then I'd like to find a workaround. EDIT: This may or may not still be a problem, but I've switched to FluentNHibernate for configuration. Highly recommended.