VODataService becoming WD, then PR

Gerard gerard.lemson at mpe.mpg.de
Tue Nov 18 02:08:02 PST 2008


Hi Pat
> 
> From Gerard's idea, isn't it missing the other table? That 
> is, should it be:
> 
> <xs:complexType name="ForeignKey">
>     <xs:sequence>
>       <xs:element name="fromTable" type="xs:string"/>
>       <xs:element name="targetTable" type="xs:string"/>
>       <xs:element name="fkColumn" type="vs:FKColumn" 
> maxOccurs="unbounded"/>
>     </xs:sequence>
> </xs:complexType>
> 
I assume the ForeignKey is used ONLY within the definition of the "from
table" only.
Hence it is implied by the context of.  
If one wants to define it outside the table definitions then indeed it would
be required.

> Presumably fkColumn needs minOccurs="1", but maybe that is 
> the default.
Yes.

Gerard



More information about the registry mailing list