rticonnextdds-getting-started icon indicating copy to clipboard operation
rticonnextdds-getting-started copied to clipboard

[hello_world][c++11] invalid tag in cloned USER_QOS_PROFILES.xml

Open vien-dev opened this issue 3 years ago • 1 comments

Hi,

I'm using RTI dds version 6.0.1 and following the get started documentation for hello world example. It went smooth until I launch the publisher. The rti framework complains as below: RTIXMLParser_validateOnStartTag:Parse error at line 66: Unexpected tag 'domain_participant_qos' RTIXMLParser_parseFromFile_ex:Parse error in file 'USER_QOS_PROFILES.xml' DDS_XMLParser_parse_from_file:Error parsing file DDS_QosProvider_load_profiles_from_current_dirI:ERROR: loading profiles file 'USER_QOS_PROFILES.xml'

I then tried to remove the domain_participant_qos tag then the publisher works normally.

Kindly revert back if you need more info.

Update: I have tried to replace the domain_participant_qos with the deprecated participant_qos tag then the publisher doesn't complain about invalid tag anymore.

vien-dev avatar Jul 05 '22 17:07 vien-dev

Hi @vien-dev,

Version 6.1.0 introduced some changes in the XML schema for XML-based application creation. In particular, it renamed participant_qos as documented in the migration guide (see instructions for Upgrading from 6.0.1 to 6.1.0 in the RTI Connext Migration Guide.

To keep around configuration files for previous versions of Connext, the repository keeps branches associated with the Getting Started Guide of older versions of Connext. For example, relase/6.0.1.8 will probably provide files and configurations that are compatible with 6.1.0.x. If there's something incorrect there, we'll fix the release branch. But both master and release branches of versions of Connext > 6.1.0 should have the new standards-compliant domain_participant_qos tag.

Please, let me know if this addresses your issue.

fgaranda avatar Jul 19 '22 15:07 fgaranda