Why doesn't my RTI 4.4b QoS Profiles XML file work with RTI 4.3e or 4.4a?
When you use an RTI Data Distribution Service 4.4b XML QoS profiles file with 4.3e or 4.4a, you may see the following error:
RTIXMLParser_onStartTag:Parse error at line 13: Unexpected attribute 'xmlns:xsi' RTIXMLParser_parseFromFile:error parsing XML file DDS_XMLParser_parse_from_file:Error parsing XML DDS_DomainParticipantFactory_load_profiles_from_url_groupI:ERROR: loading profiles DDS_DomainParticipantFactory_load_profiles_from_url_sequenceI:ERROR: loading profiles DDS_DomainParticipantFactory_load_profiles_from_policyI:ERROR: loading profiles DDS_DomainParticipantFactory_load_profilesI:ERROR: loading profiles
This error is caused by the fact that RTI Data Distribution Service 4.4b added support for XML schemas (XSD). RTI Data Distribution Service 4.4b includes, by default, the following reference to the schema file in the XML file:
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/rti_dds_qos_profiles.xsd">
Versions of RTI Data Distribution Service prior to 4.4b did not support XML schemas, which is why the older XML parser reports the line above as an unsupported attribute. The problem could be caused by your XML file or by the default XML file that RTI Data Distribution Service tries to loads.
Solution
If your XML file contains the XML attribute detailed above, please remove it from the XML file.
Please note that this is also true when using RTI Message Service, which is currently based upon RTI Data Distribution Service 4.4a.