Hello,
I have a question about the possibility of calling javascript in the href attribute of a <xref>-tag in java 1.8.4.
In Dita 1.7.5 the following Dita-code
<xref format="js" href="javascript:executeCommand("mycommand.Open(filePath=Parameter/Value")" scope="peer">My Link Text</xref>
is making no problems while processing it to eclipsehelp and/or xhtml.
Version
1.8.4 however throws an [DOTJ054E][ERROR] which tells me that the href
is referencing to an incorrect URL (which appears because it is
expecting me to only enter a relative/absolute internal or external
filepath). This seems to happen because of the feature "Link processing"
as described in [1]. Although the displayed Error Messages, the output
documents are produced just fine.
Is there a recommended approach
to fix these errors (or rather to implement an recommended approach to
Active Help), or should I simply ignore these error messages? I found a
blog post about it at [2], but it seems as it is quite outdated and
does not help me with my problem at all.
[1]
https://dita-ot.github.io/1.8/dev_ref/DITA1.2-implementation-dependent-features.html[2]
https://wiki.oasis-open.org/dita/Active_Content_in_DITA_HelpThank you in advance!