How do you开发者_运维问答 validate XML with only a portion of XSD ?
I don't think you can - you need to validate your XML against a complete XML schema. If you have several that are made up of various imports, you need one XSD file for each of those various "partial" subsets.
Marc
Can you elaborate a bit on the issue?
As a stab in the dark, I would say that as long as the xsd is well formed should be able to run the xml against it; that said there is no assurance that it will validate. Can you post the xml and/or the xsd fragment?
精彩评论