@QA : for reproduction:
Start up testsuite, and then go to
In there, the second link should be
or <link href="/site/news1/2008/11/partner-event.html
In LocationMapResolver, there is #getCanonicalItem
That method returns if there are multiple equally well suited canonical sitemap items (equal depth) the first canonicals.get(0);.
Instead, it should just like the 'non explicit canonical link creation' use the LowestDepthFirstAndThenLexicalComparator