Odd Namespace Behavior

Dec 31, 2009 at 3:30 PM

I have a case where I have 3 XSD files. The first two have different xmlns and the third has no defined xmlns but is referenced by both of the first two. The resulting code makes separate code for the referenced XML but it uses the same xmlns for both, and thus results in incorrect XML in one of the files (unsure how it decides which xmlns to use). I expect it's just rolling the code for the first and then since both reference the 3rd XSD, it's just reusing the rolled code without adjusting the xmlns that it determined for the first.