Fixed potential NPE in odata extension when schema ComplexType in a document does not declare a schema attribute (issue #932).