domNode->getAttribute returns strings cut by the first whitespace, this prevents naming bones with whitespaces, e.g name="Left Hand" will be returned only as "Left".
This happens when using OpenSceneGraph, the code calling domNode is at https://github.com/openscenegraph/OpenSceneGraph/blob/OpenSceneGraph-3.6/src/osgPlugins/dae/daeRSkinning.cpp#L258 .
I also filed a bug against OSG, but I believe the issue currently lies at ColladaDOM. https://github.com/openscenegraph/OpenSceneGraph/issues/1016
First, the current code here is a complete rewrite of the old library, but not yet published. That said I don't recall any reason the getAttribute or set Attribute API would deal with whitespace. I would look at the loader code that is parsing the XML document. If it uses ColladaDOM's internal loaders it would be based on libxml or tinyxml in the modules area. I'm the only person working on this, and I'm not working on maintaining the old code.