Skip to content

Restore version 2 attribute writer

This branch returns the XmlV2StringWriter and makes it the default for AttributeWriter. The V2 writer will be the default for CMB 4.1, and the V3 writer will be used for CMB V5.

  • So the XmlV3StringWriter class is still there, and is now a subclass of the V2 writer. The only logic currently in V3 is support for DateTimeItem and DateTimeItemDefinition.
  • The V3 writer can be used by calling AttributeWriter::setFileVersion(3).
  • This branch also introduces an XmlStringWriter class as the abstract base for the V2 writer and its subclasses.

Merge request reports

Loading