bryonjacob / wikimodel

Automatically exported from code.google.com/p/wikimodel
0 stars 0 forks source link

XHTML Parser calls onReference() event with strange raw link value #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I send the following:

<a href="/xwiki/bin/view/Space/ExistingPage">Space.ExistingPage</a>

the onReference(String) method is passed
"/xwiki/bin/view/Space/ExistingPage Space.ExistingPage" which looks
strange: it has both the URL and the label separated by a space.

Since you're introducing a new WikiReference class I guess in the future
"/xwiki/bin/view/Space/ExistingPage" will be set as the link value and
"Space.ExistingPage" as the label, right?

Thanks

Original issue reported on code.google.com by vmas...@gmail.com on 26 Jun 2008 at 3:31

GoogleCodeExporter commented 8 years ago

Original comment by mikhail....@gmail.com on 29 Jun 2008 at 11:23

GoogleCodeExporter commented 8 years ago
It was fixed with introduction  of the WikiReference object used to represent
"structured" references (link+label+parameters).  

Original comment by mikhail....@gmail.com on 29 Jun 2008 at 11:26