Describe the problem
The view menu of each resource window offers an "HTML view", which is a direct HTML rendering of the original code. This should only be provided for HTML resources, as the result for XML-encoded resources will be of no merit.
To Reproduce
Open any resource window in Edirom Online.
Expected behavior
Only offer HTML view for HTML resoures.
Edirom information
Additional context
|
else if($type = 'html_iFrameView') |
|
then(true()) |
Probably the view should only be offered if the root element is in the HTML namespace (http://www.w3.org/1999/xhtml)
Describe the problem
The view menu of each resource window offers an "HTML view", which is a direct HTML rendering of the original code. This should only be provided for HTML resources, as the result for XML-encoded resources will be of no merit.
To Reproduce
Open any resource window in Edirom Online.
Expected behavior
Only offer HTML view for HTML resoures.
Edirom information
Additional context
Edirom-Online-Backend/data/xql/getLinkTarget.xql
Lines 105 to 106 in c1c2d67
Probably the view should only be offered if the root element is in the HTML namespace (
http://www.w3.org/1999/xhtml)