Is this a .NET Framework error validating XDocument against an XML schema?

June 19, 2009

I spent a large portion of my time yesterday wrestling with validation errors for an XML document – a document which I was positive should be validating correctly. After a lot of fumbling around with options, various incantations of xsi, and checking & rechecking the schema, it occurred to suspect something could be up [...]

1

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