Thursday, December 11, 2008

Schema without root error

I try to find common structures in xml schemas and place those types in a base schema that other schemas include or import, depending on namespace.

Today I did "as usual" but the project did not compile. "Unable to find root element" was the error.

I thought maybe something is changed in 2006 R2 and tried changing "Schema Type" to "Property". Then it compiled! Hmm, what was the connection? I tried changing it back to "Default" and that worked to!!

I am confused, something did get cleaned out by doing the switch, but I still do not know what.