HOOPS Communicator libconverter with "--output_xml_BOM" option generate unparsable XML files

When the model internal node name has special symbols such as "><&, etc.
The converter generates illegal XML files that cannot be parsed, and special symbols are not escaped in XML.
XMLBOM.zip (487 Bytes)

Model source files with special character node names:
DS0000033333_002.CATProduct.zip (6.4 KB)

Hey @Rui.Zhang03 – This looks like a bug and probably something support should handle. I’ll go ahead and file a ticket with this information on your behalf and update it here as well.

Hello,

Any news on that matter ?
I’m facing the same issue in 2025…

Cheers,
Nicolas.

Hello @nicolas.gouju,

In our investigation, we were not able to reproduce the issue as initially described. We also received no additional feedback and thus the issue eventually “timed out.”

If you are experiencing a similar issue, we kindly request that you please provide the CAD file in question. If you wish, you can send me a direct message attaching the file. I can also send you a file transfer request to your email address. This will allow you to upload the CAD file directly to us.

Thanks,
Tino

Hello Tino,

Thanks for your quick answer. I don’t know exactly how to send you a direct message.
Please find below the issue I’m experiencing.

With this command:
converter --output_xml_BOM “C:...\Asm&one.test_bom.xml” --input “C:...\Asm&one.test.SLDASM” --license “xxx”

The XML output is not valid. For example the ‘&’ in the file name is not encoded as ‘&amp ;’ :

What’s strange is that we don’t have the same issue with ‘–output_xml_assemblytree’, in this case all characters are properly encoded.

I can provide the CAD files if you need them but you can very easily reproduce the issue by using a CAD file with ‘&’ in its name.

Cheers,
Nicolas.

Hello @nicolas.gouju,

Thanks for providing the additional information. I am able to reproduce it in my tests. I’ll go ahead and create a ticket for it and escalate it to our engineering team for a closer look.

Thanks,
Tino

Hello Tino,

Is there a way to follow the progression of this ticket you created ?

Cheers,
Nicolas.

Hello @nicolas.gouju,

If you are an existing partner with Tech Soft 3D, we can create a support ticket on your behalf and associate the internal ticket accordingly. Otherwise, you will not be able to see automatic updates.

Thanks,
Tino