开发者

XSD validation error human readable

开发者 https://www.devze.com 2022-12-28 22:46 出处:网络
I want to be able to validate a XML against a XSD and generate user readable errors, for example, including XSD documentation tag.

I want to be able to validate a XML against a XSD and generate user readable errors, for example, including XSD documentation tag.

I just wanted to know i开发者_运维技巧f C# provides this in a easy, elegant and non-painful way, otherwise I'll parse down the error and find the node within XSD.


XML Schema itself doesn't provide a way to do what you want!

XML Schema is not meant to communicate to humans in a human manner. Forget about it.

0

精彩评论

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

关注公众号