阅读背景:

Java - 如何指定xsd元素取决于另一个元素

来源:互联网 

I feel like this is a simple problem, but i couldn't find any solutions. In my xsd, i have a request object which is a complex element and has 3 elements in it. Ex: GetApplicationRequest has element 1 (name), element 2 (dob), element 3 (license_id). To create a valid request, either of (elemen1 and element 2) or (element 3) are required. So if you create a request with element 3, the other 2 shouldn't be there , and if you create a request with element 1 then element 2 is required and element 3 should not be there.I feel like this is a simple problem, but i cou




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: