开发者

XS:Group causes Schema to fail validation

开发者 https://www.devze.com 2022-12-31 17:46 出处:网络
I have an XML document based on a Schema that uses the xs:group element to bunch elements together. The result is a开发者_运维问答n entity

I have an XML document based on a Schema that uses the xs:group element to bunch elements together.

The result is a开发者_运维问答n entity

where name, address and phone number are defined in a group.

This fails Schema validation in MS (Visual Studio) as well as XERCES (oXygen XML editor)

Is there a workaround?


In creating a sample XML to post, I was able to determine that validation was only failing because my element order was incorrect. Whoops!

0

精彩评论

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