1
0
mirror of synced 2025-01-18 22:41:43 +03:00

[2.0] Small correction to enforce join-column or join-columns in many-to-one in the XSD.

This commit is contained in:
romanb 2010-01-06 17:20:08 +00:00
parent 674e9beea2
commit ca2faba190

View File

@ -233,7 +233,7 @@
<xs:complexType name="many-to-one">
<xs:sequence>
<xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
<xs:choice minOccurs="0" maxOccurs="1">
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="join-column" type="orm:join-column"/>
<xs:element name="join-columns" type="orm:join-columns"/>
</xs:choice>