Modules versus fixed format objects
Module objects should not be used to store structured document data (for example, XML data) because, for efficiency, the diff’ing logic used for modules may replace new lines with spaces.
XML has strict rules about white space and new-lines, therefore, over time, and with multiple edits, the user may encounter problems editing (such as corruption of the data). SDL recommends that you use FixedFormat, which uses different diff’ing logic and does not replace new-lines with spaces.
If you have older data in your database that is stored in modules, set XYV_PDM_MOD_LBREAK to ascii before the portal is launched to prevent new lines and white space from being stripped out on import. Note that the stripping is done by the diff’ing algorithm for efficiency.