开发者

XS:Group causes Schema to fail validation

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜