After serializing this wikitext from http://www.mediawiki.org/wiki/Parsoid/RDFa_vocabulary:
<span typeof="mw:Image" class="mw-default-size">
<a href="./File:Foobar.jpg">
<img resource="./File:Foobar.jpg" src="http://upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg" width="1941" height="220">
</a>
</span>
serializer produces: [[File:Foobar.jpg|link=File:Foobar.jpg]] instead of: [[Image:Foobar.jpg]].
Please also consider such case of HTML DOM:
<figure typeof="mw:Image/Frame" class=" mw-halign-right"><a rel="mw:thumb" href="http://commons.wikimedia.org/wiki/File:Poland_1939.xcf"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Poland_1939.xcf/142px-Poland_1939.xcf.png" width="142" height="150" resource="undefined"></a></figure>
Version: unspecified
Severity: normal