Hi, I don“t know if this is the right place to post this message, but
I found a small problem on the mapping schema for the index-many-to-
any.
The problem is that the definition of any requires the meta-value tag,
but the definition of index-many-to-any does not allow it to be
defined.
The correction is bellow both for the 2.1.x branch and for trunk.
Correction for 2.1.x branch:
Index: src/NHibernate/nhibernate-mapping.xsd
===================================================================
--- src/NHibernate/nhibernate-mapping.xsd (revision 4689)
+++ src/NHibernate/nhibernate-mapping.xsd (working copy)
@@ -587,6 +587,7 @@
<xs:element name="index-many-to-any">
<xs:complexType>
<xs:sequence>
+ <xs:element ref="meta-value" minOccurs="0"
maxOccurs="unbounded" /
>
<xs:element ref="column" maxOccurs="unbounded"
/>
</xs:sequence>
<xs:attribute name="id-type" use="required"
type="xs:string" />
Correction for trunk:
Index: nhibernate/src/NHibernate/nhibernate-mapping.xsd
===================================================================
--- nhibernate/src/NHibernate/nhibernate-mapping.xsd (revision 4665)
+++ nhibernate/src/NHibernate/nhibernate-mapping.xsd (working copy)
@@ -587,6 +587,8 @@
<xs:element name="index-many-to-any">
<xs:complexType>
<xs:sequence>
+ <xs:sequence>
+ <xs:element ref="meta-value" minOccurs="0"
maxOccurs="unbounded" /
>
<xs:element ref="column" maxOccurs="unbounded"
/>
</xs:sequence>
<xs:attribute name="id-type" use="required"
type="xs:string" />
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---