Difference between and in schema definition?

后端 未结 6 422
陌清茗
陌清茗 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:32

    The schema merely defines what constitutes a compliant document.

    How non-compliance is reported is entirely up to the validator. There is nothing stopping a validator from reporting exactly which fields are missing, but apparently the one you use does not in this case.

    Whether that is a bug or by design you would have to discuss with the provider of the validator.

提交回复
热议问题