protected function validateSchema(\DOMDocument $dom)
    {
        try {
            $valid = $dom->schemaValidate($this->schema);
            return $valid;
        } catch (\Exception $e) {}

        throw new InvalidConfigurationSchema('Schema is not valid');
    }