Unable to set external schema location when inline schema is used. (Error 2123)

The value of the XMLAdapter property, XMLSchemaLocation, cannot be set to Inline Schema (1), when the cSchemaLocation parameter has been populated.