开发者

How to depict REQUIRED elements in Biztalk Schema

开发者 https://www.devze.com 2022-12-20 01:36 出处:网络
I am stuck trying to find a way to specify REQUIRED field开发者_开发百科s in my Biztalk schema files. Anyone have an answer for this? I tried to use the USE=REQUIRED attribute/value but that was rejec

I am stuck trying to find a way to specify REQUIRED field开发者_开发百科s in my Biztalk schema files. Anyone have an answer for this? I tried to use the USE=REQUIRED attribute/value but that was rejected.


use="required" is only used for XML attributes. For XML elements you need to set minOcurrs=1 instead. However, remember that BizTalk doesn't do XML schema validation by default, that's something you need to explicitly enable and does come with a performance cost.

0

精彩评论

暂无评论...
验证码 换一张
取 消