You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<para>It is the case for <literal><dynamic-component></literal> and <literal><nested-composite-element></literal>.</para>
234
-
<para>Another bad news is that, currently, XML elements coming after this elements can not be included in them. Eg: There is no way put a collection in <literal><dynamic-component></literal>. The reason is that the file <filename>nhibernate-mapping-2.2.xsd</filename> tells how elements are built and in which order, and NHibernate.Mapping.Attributes use this order.</para>
234
+
<para>Another bad news is that, currently, XML elements coming after this elements can not be included in them. Eg: There is no way put a collection in <literal><dynamic-component></literal>. The reason is that the file <filename>nhibernate-mapping.xsd</filename> tells how elements are built and in which order, and NHibernate.Mapping.Attributes use this order.</para>
235
235
<para>Anyway, the solution would be to add a <methodname>int ParentNode</methodname> property to BaseAttribute so that you can create a real graph...</para>
236
236
<para>For now, you can fallback on <classname>[RawXml]</classname>.</para>
<para>Any change to the schema (<filename>nhibernate-mapping-2.2.xsd</filename>) implies:</para>
245
+
<para>Any change to the schema (<filename>nhibernate-mapping.xsd</filename>) implies:</para>
246
246
<orderedlist>
247
247
<listitem>
248
248
<para>Checking if there is any change to do in the Generator (like updating KnowEnums / AllowMultipleValue / IsRoot / IsSystemType / IsSystemEnum / CanContainItself)</para>
249
249
</listitem>
250
250
<listitem>
251
-
<para>Updating <filename>/src/NHibernate.Mapping.Attributes/nhibernate-mapping-2.2.xsd</filename> (copy/paste) and running the Generator again (even if it wasn't modified)</para>
251
+
<para>Updating <filename>/src/NHibernate.Mapping.Attributes/nhibernate-mapping.xsd</filename> (copy/paste) and running the Generator again (even if it wasn't modified)</para>
252
252
</listitem>
253
253
<listitem>
254
-
<para>Running the Test project and make sure that no exception is thrown. A class/property should be modified/added in this project to be sure that any new breaking change will be caught (=> update the reference hbm.xml files and/or the project <filename>NHibernate.Mapping.Attributes-1.1.csproj</filename>)</para>
254
+
<para>Running the Test project and make sure that no exception is thrown. A class/property should be modified/added in this project to be sure that any new breaking change will be caught (=> update the reference hbm.xml files and/or the project <filename>NHibernate.Mapping.Attributes-2.0.csproj</filename>)</para>
255
255
</listitem>
256
256
</orderedlist>
257
257
<para>This implementation is based on NHibernate mapping schema; so there is probably lot of "standard schema features" that are not supported...</para>
258
258
<para>The version of NHibernate.Mapping.Attributes should be the version of the NHibernate schema used to generate it (=> the version of NHibernate library).</para>
259
-
<para>In the design of this project, performance is a (<emphasis>very</emphasis>) minor goal :) Easier implementation and maintenance are far more important because you can (and should) avoid to use this library in production.</para>
259
+
<para>In the design of this project, performance is a (<emphasis>very</emphasis>) minor goal :) Easier implementation and maintenance are far more important because you can (and should) avoid to use this library in production (Cf. the first tip in <xreflinkend="mapping-attributes-tips"/>).</para>
0 commit comments