1 views

Symptoms


Error on the UI Macro, message says -The reference to entity "sysparam_media" must end with the ';' delimiter.

Release


ALL

 

Cause


The"&" character is used in the macro. The ampersand (&) is a special character in HTML and XML. The ampersand denotes the start of an encoded entity. For example, "&lt;" is used to encode the "<" symbol, and "&gt;" is used to denote the ">" symbol. Entities are always prefixed by the "&" character and suffixed by the ";" character. The "&" character to be parsed correctly, which explains the error message. 

Resolution


Replace "&" with "&amp;" in the URL 

Example as below:

Incorrect 

var url = 'sys_report_display.do?sysparm_report_id=2cfe5aa70f3ba6804caac09ce1050e05&sysparm_media=print';

Correct:

var url = 'sys_report_display.do?sysparm_report_id=2cfe5aa70f3ba6804caac09ce1050e05&amp;sysparm_media=print';

 

 

Additional Information


Refer XML Character references character_encoding

Article Information

Last Updated:2018-08-07 18:19:38
Published:2018-08-08