Removing BOM serialization

To optimize performance, you can specify how to store the ruleset parameter values and specify filters to remove information about the working memory.

About this task

For large amounts of input and output data, BOM serialization can result in poor performance.

When BOM serialization is deactivated, ruleset parameter serialization works as follows:
  • For a Java™ XOM, the toString method of the ruleset parameter class is used to serialize the objects. Override this method to extract information and improve performance.
  • For a dynamic XOM based on XSD, the original XML document is stored and no serialization is done.

Procedure

To remove BOM serialization:

  1. Set the ruleset.bom.enabled property to false.
  2. For a Java XOM, override the toString method.