so the issue is that we are apparently one level too deep?

```
diff --git a/src/Jackalope/Transport/DoctrineDBAL/Client.php b/src/Jackalope/Transport/DoctrineDBAL/Client.php
index c8a97ad..d92752c 100644
--- a/src/Jackalope/Transport/DoctrineDBAL/Client.php
+++ b/src/Jackalope/Transport/DoctrineDBAL/Client.php
@@ -207,7 +207,9 @@ class Client extends BaseTransport implements QueryTransport, WritingInterface,
 
             // @TODO: don't know if there are expressions returning more then one row
             if ($list->length > 0) {
-                $type = $list->item(0)->parentNode->attributes->getNamedItem('type')->value;
+                $type = is_object($list->item(0)->parentNode->attributes->getNamedItem('type'))
+                    ? $list->item(0)->parentNode->attributes->getNamedItem('type')->value
+                    : $list->item(0)->parentNode->parentNode->attributes->getNamedItem('type')->value;
                 $content = $list->item(0)->textContent;
 
                 switch ($type) {
```