<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,7 +23,10 @@ sub xpath(Str $path, Match $m) is export {
         return gather { recursiveSearch($m, $chain&lt;step&gt;.list) };
     }
     else {
-        return absoluteSearch($m, $chain&lt;step&gt;.list);
+        return $&lt;locationPath&gt;&lt;chain&gt;.elems &gt; 1
+            ?? gather { recursiveSearch(absoluteSearch($m, $chain&lt;step&gt;.list),
+                                        $&lt;locationPath&gt;&lt;chain&gt;[1]) }
+            !! absoluteSearch($m, $chain&lt;step&gt;.list);
     }
 }
 </diff>
      <filename>lib/Grampa.pm</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>790ea0dbc0167bc9c9529f16f5fad2a050aa002b</id>
    </parent>
  </parents>
  <author>
    <name>Carl Masak</name>
    <email>cmasak@gmail.com</email>
  </author>
  <url>http://github.com/masak/grampa/commit/21c579f89ade80fd4c6c1846c4b26042d9e211d2</url>
  <id>21c579f89ade80fd4c6c1846c4b26042d9e211d2</id>
  <committed-date>2009-07-01T14:07:04-07:00</committed-date>
  <authored-date>2009-07-01T14:07:04-07:00</authored-date>
  <message>[Grampa] made the last test pass in t/03

The solution is not too general; more tests will reveal the ways in
which it fails.</message>
  <tree>03c0f7e32f6f0c0efcbfb2d215dd56b8a578ed4d</tree>
  <committer>
    <name>Carl Masak</name>
    <email>cmasak@gmail.com</email>
  </committer>
</commit>
