Hello everyone. I am back after a long hiatus. Back in the industry and back here as well. Seems that there are a quite a few new faces though i do see some old friends.
I've got a datasource in xml and I'm pulling it into my web app using an xsd file to create the dataset.
My question is that a unique constraint in the xsd isn't being enforced. There is no reference of it in the dataset class code, and replicant data is allowed to be written to the datasource and read from the datasource.
I currently have this in the xsd.
<xs:key name="uk_UsersName">
<xs:selector xpath="." />
<xs:field xpath="mstns:UserName" />
</xs:key>
I've also tried this one.
<xs:unique name="uk_UsersName">
<xs:selector xpath="." />
<xs:field xpath="mstns:UserName" />
</xs:unique>
Any ideas
That'l do donkey, that'l do
Mark
If you are unsure of forum etiquette check here faq796-2540
I've got a datasource in xml and I'm pulling it into my web app using an xsd file to create the dataset.
My question is that a unique constraint in the xsd isn't being enforced. There is no reference of it in the dataset class code, and replicant data is allowed to be written to the datasource and read from the datasource.
I currently have this in the xsd.
<xs:key name="uk_UsersName">
<xs:selector xpath="." />
<xs:field xpath="mstns:UserName" />
</xs:key>
I've also tried this one.
<xs:unique name="uk_UsersName">
<xs:selector xpath="." />
<xs:field xpath="mstns:UserName" />
</xs:unique>
Any ideas
That'l do donkey, that'l do
![[bravo] [bravo] [bravo]](/data/assets/smilies/bravo.gif)
If you are unsure of forum etiquette check here faq796-2540