tags:

views:

55

answers:

2

How do you validate XML with only a portion of XSD ?

A: 

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?

Krispy
Can you go through this question...I have described completely my scenario over there...http://stackoverflow.com/questions/1614015/working-with-multiple-xsds
Rachel
A: 

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

marc_s