开发者

Handling XSD element declared twice

I have an XML Schema referencing two other schemas where the same element is declared twice resulting in an invalid schema.

Is there any built in XSD construct allowing me to handle this situation by 开发者_如何转开发ignoring one occurrence or is this situation just fundamentally wrong?


That's fundamentally wrong - a schema is specifically intended to make things clear and unique. You need to address that somehow - XSD has no way of ignoring something that's in the schema - anything in the schema file must be valid.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜