<!-- Bug report from "Joern v. Kattchee" <kattchee@ikv.de>

Expected parse result of

rdf:type, http://test#this, ns:item
rdf:type, http://test#anon-2, ns:item
ns:prop,  http://test#anon-2, http://foo/
ns:prop,  http://test#this, http://test#anon-2

got

rdf:type, http://test#this, ns:item
rdf:type, http://test#anon-1, ns:prop
rdf:type, http://test#anon-2, ns:item
ns:prop,  http://test#anon-2, http://foo/
ns:item,  http://test#anon-1, http://test#anon-2
ns:prop,  http://test#this, http://test#anon-1

-->
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:ns="http://my/ns#">
  <ns:item rdf:ID="this">
    <ns:prop>
      <ns:item>
        <ns:prop rdf:resource="http://foo/"/>
      </ns:item>
    </ns:prop>
  </ns:item>
</rdf:RDF>

