I was experiencing an issue where svg graphics would enterpret links of the format:
as external web-links opening up a web browser.
I have now fixed this issue (given in the attached patch) so that links in the above format now properly go to an internal named destinations.
The named destination must be specified with the tag:
<fox:destination internal-destination="named_destination" />
I hope this is helpfull.