hi,
i created an xml schema with namespace like below.
<xsd:schema
xmlns:xsd="http ://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace ="http://www.w3.org/2001/XMLSchema" elementFormDefa ult="qualified"
attributeFormDe fault="unqualif ied" >
but when i use key & keyref, it gives this warning :- "The 'http://www.w3.org/2001/XMLSchema:key' element is not supported in this context."
what can be the problem?
Can anyone please reply....
Thanks in advance.
this is how i specified key :
<xsd:key name="PK_Counte rPartyCID" >
<xsd:selector xpath=".//Counter_Party_C ID"/>
<xsd:field xpath="CompID"/>
</xsd:key>
i created an xml schema with namespace like below.
<xsd:schema
xmlns:xsd="http ://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace ="http://www.w3.org/2001/XMLSchema" elementFormDefa ult="qualified"
attributeFormDe fault="unqualif ied" >
but when i use key & keyref, it gives this warning :- "The 'http://www.w3.org/2001/XMLSchema:key' element is not supported in this context."
what can be the problem?
Can anyone please reply....
Thanks in advance.
this is how i specified key :
<xsd:key name="PK_Counte rPartyCID" >
<xsd:selector xpath=".//Counter_Party_C ID"/>
<xsd:field xpath="CompID"/>
</xsd:key>
Comment