XSD Import NameSpaces

馋奶兔 提交于 2019-12-06 06:35:13

It is perfectly valid (albeit debatable) to have these kind of circular dependencies; the reason why your schema set doesn't validate can't be it; you'll have to inspect the errors your schema processor generates and try to understand each one of them. It is generaly accepted that the best is to start with the first error message.

Your snippets are invalid since you're referencing an element2 (in second.xsd) that you didn't list in schema1. This is the kind of thing that won't pass validation, so focus on them.

If you need help with understanding what the real issue is, start by updating your post with the actual error message.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!