Enable the CheckSvgContent trigger

The CheckSvgContent trigger validates that Scalable Vector Graphics (SVG) images do not contain external links.

About this task

Note: In a dedicated SaaS deployment, submit a support ticket to request that IXIA CCMS Customer Support perform this task for you.

When enabled, this trigger runs just before the Release command releases an image. If the image has a mime-type of svg, this trigger confirms that the image contains a link to an external reference of type //@xlink:href). If the image includes an external reference, an error message occurs and the Release action does not occur.

Procedure

  1. In the TEXTML Administration perspective, connect to your server.
  2. Check out and open the the /system/conf/triggers.xml file.
  3. Add the following trigger as described in Enable a custom trigger.
    <trigger apply-to="Release" class="com.ixiasoft.cms.triggers.CheckSvgContent" name="CheckSVGContent" objtype="image" schedule="before"/>
  4. Save and check in the file.
  5. Inform users of the changes.
    The changes are automatically applied once users close and then reopen their IXIA CCMS Desktop. Users can also apply the changes without restarting their CCMS Desktop by clicking IXIA CCMS > Synchronize Configuration.