Cause: If the item's parent is not <schema> and the attribute "ref" is present, then the element "simpleType" and the attributes "form" and "type" must be absent.
Action: Remove the prohibited items.
Solution doesn't works for you?
POST your error in our discussion panel below.
Our DBA team will be happy to help you :)