Difference between and in schema definition?

后端 未结 6 421
陌清茗
陌清茗 2020-12-24 00:01

I am using xsd:all in a complex type. When I miss any mandatory elements while validating it will show all the elements. It will not display the exact missed e

6条回答
  •  醉梦人生
    2020-12-24 00:36

    when we use under tag, it indicates all the elements that are declared in that complexType MUST appear in same order in XML document. otherwise, you will get an error. for there is no need to specify elements in proper order.

提交回复
热议问题