Hi Vincent,
I try to make the xhtmlparser work for the link. I have see the test
case links.test in xwiki-core-rendering.
I have some questions.
1) the xhtmlparser don't handle the rel attribute. Because wikimodel
don't pass the information in xhtmlparser. see
http://code.google.com/p/wikimodel/issues/detail?id=47. When this is
fixed, I think rel can works.
2) The output of <a
href="mailto:john@doe.com">mailto:john@doe.com</a>
should be [[mailto:john@doe.com>mailto:john@doe.com]] but not
[[mailto:john@doe.com]]. We should not remove the label information of
mailto. Consider if the input is <a href="mailto:john@doe.com">Contact
me</a>, the output should be [[mailto:john@doe.com>Contact me]]
--
Thanks
Wang Ning