IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  ISIM email notifications errors in trace.log

    Posted Tue September 09, 2025 10:11 AM

    Hi everyone!

    I have some notification emails sent by ISIM that are causing an exception in trace.log.

    The exception I see is:

    org.xml.sax.SAXParseException: The reference to entity "sys_id" must end with the ';' delimiter.

    Wich is caused by an url contained in an href contained in the notification text:

    https://xxx.service-now.com/esp?id=esp_sc_cat_item&sys_id=11e5806e8759ad106d7665370cbb359b

    Is there a safe way to write the href tag without causing the issue?

    Thank you 

    Ciao



    ------------------------------
    Andrea Gatto
    ------------------------------


  • 2.  RE: ISIM email notifications errors in trace.log

    Posted Wed September 10, 2025 03:18 PM

    In particular, this is the offending portion in XHTML message body:

    <a href="https://xxx.service-now.com/esp?id=esp_sc_cat_item&amp;sys_id=11e5806e8759ad106d7665370cbb359b&amp;sysparm_category=24c63f1a8719ad106d7665370cbb35a8"> Portale dei Servizi &gt; Servizi IT &gt; Gestione Utenze &gt; Account Consulente Esterno  </a>



    ------------------------------
    Andrea Gatto
    ------------------------------



  • 3.  RE: ISIM email notifications errors in trace.log

    Posted Fri September 12, 2025 01:24 AM

    You cannot just add a URL like that as it contains characters that will break the XML of the template (and that is the error you get).

    You may want to check this part of the documentation : https://www.ibm.com/docs/en/sig-and-i/10.0.1?topic=reference-dynamic-tags-in-mail-templates but you cn also try to substitute the violating characters in the URL to get it working...

    HTH



    ------------------------------
    Franz Wolfhagen
    WW IAM Solution Architect - Certified Consulting IT Specialist
    IBM Expert Labs
    ------------------------------



  • 4.  RE: ISIM email notifications errors in trace.log

    Posted Fri September 12, 2025 03:34 AM

    Thank you for linking the documentation.

    Indeed, the problematic part in the url seems to be near to '...&amp;sys_id...' (as the exception is reporting 'sys_id').

    According to docs, the ampersand should be correctly escaped. At least, the operation editor allows me to save the mail template (then I get the exception during runtime).

    Anyway, the docs are giving me some suggestions... I'll do some experiments, then I'll let you know the outcome.

    Ciao!



    ------------------------------
    Andrea Gatto
    ------------------------------



  • 5.  RE: ISIM email notifications errors in trace.log

    Posted Wed September 17, 2025 11:21 AM

    In the end the problem has been solved with a <RE key="offending_hyperlink"></RE> tag.

    Where "offending_hyperlink" is a key placed in CustomLabels.properties, containing the whole <a href=".....> .... </a> tag.

    Thank you!

    Ciao



    ------------------------------
    Andrea Gatto
    ------------------------------