What causes the error "Unexpected tag 'disable_positive_acks_decrease_sample_keep_duration_scaler'"?

Note: This article applies to RTI Connext DDS version 4.4c and higher.

The error indicates that the XML parser encountered a tag for a field that doesn't exist in 4.4c and higher, because it was renamed.

Two fields in the DataWriter's protocol.rtps_reliable_writer QoS were renamed in 4.4c:

  • Old name:  disable_positive_acks_decrease_sample_keep_duration_scaler
  • New name: disable_positive_acks_decrease_sample_keep_duration_factor
  • Old name:  disable_positive_acks_increase_sample_keep_duration_scaler
  • New name: disable_positive_acks_increase_sample_keep_duration_factor

The new "factor" fields (of type DDS_Long) replace the old "scaler" fields (of type DDS_Double).

  • disable_positive_acks_increase_sample_keep_duration_factor must be >= 100.
  • disable_positive_acks_decrease_sample_keep_duration_factormust be <= 100.

To avoid this error, make sure that applications using 4.4c and higherincluding RTI tools developed for 4.4are not loading an NDDS_QOS_PROFILES.xml file that is intended for older versions. Keep in mind that the middleware tries to load $NDDSHOME/resource/xml/NDDS_QOS_PROFILES.xml, so make sure NDDSHOME is set correctly.

Keywords: