Xml Schema as an Embedded Resource

June 17, 2009

Today I ran into an interesting problem trying to validate an XDocument against an XmlSchemaSet.  The complication arose from the fact that the master schema referenced (<import>ed) multiple additional schemas.
Initially I tried copying all the schema files to the output directory, then loading the master schema using XmlReader.Read().  The master schema references other schema files [...]

0