Many views are not functional when instance names or descriptions are containing an ' character.
<= Function eas:renderJSAPIText@common/core_utils.xsl is escaping ' resulting in illegal JSON expressions (e.g. "\^'" is not legal json per JSON Notation standard).
A fix would be to rewrite some part of this function logic but, maybe, a switch to fn:serialize(XXX,map{'method':'json'}) which is native in Xsl 3.1 could give a better long term solution.
As an example, I'm attaching a new version of enterprise/api/core_api_el_bus_cap_to_app_mart.xsl (used in the 'new org summary view') using XSLT/XPATH 3.1 native capabilities : maps, arrays and fn:serialize
J.-M.
v615: dubious JSON quoted escape
- tkinte
- Posts: 146
- Joined: 18 Nov 2014, 08:24
- Location: https://www.linkedin.com/in/tshitshi-kia-ntoni
- Contact:
Hi
The same occurs with core_el_org_summary_new.xsl.and characters.
Best regards.
Tshitshi
The same occurs with core_el_org_summary_new.xsl.
Code: Select all
'
Code: Select all
-
Best regards.
Tshitshi