@@ -169,10 +169,11 @@ |
||
| 169 | 169 | $msg = "edmx version can not be null"; |
| 170 | 170 | return false; |
| 171 | 171 | } |
| 172 | - if (is_float($this->version)) |
|
| 173 | - |
|
| 172 | + if (is_float($this->version)) { |
|
| 173 | + |
|
| 174 | 174 | if (!$this->isValidArray($this->dataServices, \AlgoWeb\ODataMetadata\MetadataV4\edm\Schem, 1)) { |
| 175 | 175 | $msg = "edmx the dataservice definition contains invalid enteries."; |
| 176 | + } |
|
| 176 | 177 | return false; |
| 177 | 178 | } |
| 178 | 179 | if (!$this->isValidArray($this->reference, \AlgoWeb\ODataMetadata\MetadataV4\edmx\TReferenceType)) { |