title: Fluent NHibernate OptimisticLock.None() causes "The string 'none' is not a valid Boolean value."
body: <p>I'm using the following mapping:</p>
  
  <pre><code>public class LoadMap : IAutoMappingOverride&lt;Load&gt; {
      public void Override(AutoMapping&lt;Load&gt; mapping) {
          mapping.HasMany(x =&gt; x.Bids).OptimisticLock.None();
          mapping.Version(x =&gt; x.Version);
      }
  }
  </code></pre>
  
  <p>But when I try to create the session I get the following exception:</p>
  
  <blockquote>
    <p>[FormatException: The string 'none' is not a valid Boolean value.]</p>
    
    <p>[XmlSchemaValidationException: The 'optimistic-lock' attribute is invalid - The value 'none' is invalid according to its datatype '<a href="http://www.w3.org/2001/XMLSchema:boolean" rel="nofollow noreferrer">http://www.w3.org/2001/XMLSchema:boolean</a>' - The string 'none' is not a valid Boolean value.]</p>
  </blockquote>
  
  <p>I'm using NHibernate 2.1.2.4000 and I was using Fluent NHibernate 1.0RTM, but tried the latest build 636 just to be sure this isn't something that was fixed recently or something.</p>
  
  <p>As a side note, <strong>in case I'm doing this all wrong</strong>, I would like to be able to make changes to the .Bids list without incrementing Version. I saw an example on <a href="http://ayende.com/Blog/archive/2009/04/07/nhibernate-mapping-ltpropertygt.aspx" rel="nofollow noreferrer">Ayende's blog</a> that did what I wanted with properties.</p>