Update of /cvsroot/nhibernate/nhibernate/src/NHibernate
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28792/NHibernate
Modified Files:
nhibernate-configuration-2.0.xsd
Log Message:
Change attribute name from "jar" to "assembly" and added documentation
to schema about combinations.
Index: nhibernate-configuration-2.0.xsd
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/nhibernate-configuration-2.0.xsd,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** nhibernate-configuration-2.0.xsd 12 Jul 2004 02:26:29 -0000 1.2
--- nhibernate-configuration-2.0.xsd 26 Jul 2004 12:38:09 -0000 1.3
***************
*** 46,53 ****
</xs:element>
<xs:element name='mapping'>
<xs:complexType>
<xs:attribute name='resource' />
<xs:attribute name='file' />
! <xs:attribute name='jar' />
</xs:complexType>
</xs:element>
--- 46,61 ----
</xs:element>
<xs:element name='mapping'>
+ <xs:annotation>
+ <xs:documentation>
+ There are 3 possible combinations of mapping attributes
+ 1 - resource & assembly: NHibernate will read the mapping resource from the specified assembly
+ 2 - file only: NHibernate will read the mapping from the file.
+ 3 - assembly only: NHibernate will find all the resources ending in hbm.xml from the assembly.
+ </xs:documentation>
+ </xs:annotation>
<xs:complexType>
<xs:attribute name='resource' />
<xs:attribute name='file' />
! <xs:attribute name='assembly' />
</xs:complexType>
</xs:element>
|