From: Michael D. <mik...@us...> - 2004-07-12 02:26:38
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14968/NHibernate Modified Files: nhibernate-configuration-2.0.xsd Log Message: hibernate.cfg.xml now requires a reference to the configuration schema. Index: nhibernate-configuration-2.0.xsd =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/nhibernate-configuration-2.0.xsd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** nhibernate-configuration-2.0.xsd 10 Feb 2004 18:22:43 -0000 1.1 --- nhibernate-configuration-2.0.xsd 12 Jul 2004 02:26:29 -0000 1.2 *************** *** 1,69 **** ! <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'> ! <xs:annotation> ! -- This schema was automatically generated by Syntext Dtd2Schema -- ! -- conversion tool (from file: hibernate-configuration-2.0.dtd) -- ! -- Copyright (C) 2002, 2003 Syntext Inc. See http://www.syntext.com for updates. -- ! </xs:annotation> ! <xs:element name='hibernate-configuration'> ! <xs:complexType> ! <xs:sequence> ! <xs:element ref='session-factory'/> ! </xs:sequence> ! </xs:complexType> ! </xs:element> ! <xs:element name='jcs-class-cache'> ! <xs:complexType> ! <xs:attribute name='class' use='required'/> ! <xs:attribute name='region'/> ! <xs:attribute name='usage' use='required'> ! <xs:simpleType> ! <xs:restriction base='xs:string'> ! <xs:enumeration value='read-only'/> ! <xs:enumeration value='read-write'/> ! <xs:enumeration value='nonstrict-read-write'/> ! </xs:restriction> ! </xs:simpleType> ! </xs:attribute> ! </xs:complexType> ! </xs:element> ! <xs:element name='jcs-collection-cache'> ! <xs:complexType> ! <xs:attribute name='collection' use='required'/> ! <xs:attribute name='region'/> ! <xs:attribute name='usage' use='required'> ! <xs:simpleType> ! <xs:restriction base='xs:string'> ! <xs:enumeration value='read-only'/> ! <xs:enumeration value='read-write'/> ! <xs:enumeration value='nonstrict-read-write'/> ! </xs:restriction> ! </xs:simpleType> ! </xs:attribute> ! </xs:complexType> ! </xs:element> ! <xs:element name='mapping'> ! <xs:complexType> ! <xs:attribute name='resource'/> ! <xs:attribute name='file'/> ! <xs:attribute name='jar'/> ! </xs:complexType> ! </xs:element> ! <xs:element name='property'> ! <xs:complexType mixed='true'> ! <xs:attribute name='name' use='required'/> ! </xs:complexType> ! </xs:element> ! <xs:element name='session-factory'> ! <xs:complexType> ! <xs:sequence> ! <xs:element ref='property' minOccurs='0' maxOccurs='unbounded'/> ! <xs:element ref='mapping' maxOccurs='unbounded'/> ! <xs:choice minOccurs='0' maxOccurs='unbounded'> ! <xs:element ref='jcs-class-cache'/> ! <xs:element ref='jcs-collection-cache'/> ! </xs:choice> ! </xs:sequence> ! <xs:attribute name='name'/> ! </xs:complexType> ! </xs:element> </xs:schema> --- 1,72 ---- ! <xs:schema targetNamespace='urn:nhibernate-configuration-2.0' xmlns='urn:nhibernate-configuration-2.0' ! xmlns:xs='http://www.w3.org/2001/XMLSchema'> ! <xs:annotation> ! <xs:documentation> ! This schema was automatically generated by Syntext Dtd2Schema ! conversion tool (from file: hibernate-configuration-2.0.dtd) ! Copyright (C) 2002, 2003 Syntext Inc. See http://www.syntext.com for updates. ! </xs:documentation> ! </xs:annotation> ! <xs:element name='hibernate-configuration'> ! <xs:complexType> ! <xs:sequence> ! <xs:element ref='session-factory' /> ! </xs:sequence> ! </xs:complexType> ! </xs:element> ! <xs:element name='jcs-class-cache'> ! <xs:complexType> ! <xs:attribute name='class' use='required' /> ! <xs:attribute name='region' /> ! <xs:attribute name='usage' use='required'> ! <xs:simpleType> ! <xs:restriction base='xs:string'> ! <xs:enumeration value='read-only' /> ! <xs:enumeration value='read-write' /> ! <xs:enumeration value='nonstrict-read-write' /> ! </xs:restriction> ! </xs:simpleType> ! </xs:attribute> ! </xs:complexType> ! </xs:element> ! <xs:element name='jcs-collection-cache'> ! <xs:complexType> ! <xs:attribute name='collection' use='required' /> ! <xs:attribute name='region' /> ! <xs:attribute name='usage' use='required'> ! <xs:simpleType> ! <xs:restriction base='xs:string'> ! <xs:enumeration value='read-only' /> ! <xs:enumeration value='read-write' /> ! <xs:enumeration value='nonstrict-read-write' /> ! </xs:restriction> ! </xs:simpleType> ! </xs:attribute> ! </xs:complexType> ! </xs:element> ! <xs:element name='mapping'> ! <xs:complexType> ! <xs:attribute name='resource' /> ! <xs:attribute name='file' /> ! <xs:attribute name='jar' /> ! </xs:complexType> ! </xs:element> ! <xs:element name='property'> ! <xs:complexType mixed='true'> ! <xs:attribute name='name' use='required' /> ! </xs:complexType> ! </xs:element> ! <xs:element name='session-factory'> ! <xs:complexType> ! <xs:sequence> ! <xs:element ref='property' minOccurs='0' maxOccurs='unbounded' /> ! <xs:element ref='mapping' maxOccurs='unbounded' /> ! <xs:choice minOccurs='0' maxOccurs='unbounded'> ! <xs:element ref='jcs-class-cache' /> ! <xs:element ref='jcs-collection-cache' /> ! </xs:choice> ! </xs:sequence> ! <xs:attribute name='name' /> ! </xs:complexType> ! </xs:element> </xs:schema> |