Something amazing happened to me today during schema validation. This is my new favorite all time error:
Error: src-ct.2.1: Complex Type Definition Representation Error for type 'USPhone'.
When <simpleContent> is used, the base type must be a complexType whose content type is simple, or, only if restriction is specified, a complex type with mixed content and emptiable particle, or, only if extension is specified, a simple type. 'string' satisfies none of these conditions.
Sheesh. I feel so dopey. Only a moron would think that 'string' would be valid as a simple content with a base type of complexType whose content type was simple. Bad programmer! I can't even satisfy one of its conditions! Bad programmer!