#132 cannot add xmlns:math attribute to <COLLADA> tag

open
nobody
None
5
2009-04-23
2009-04-23
No

From the collada exmples I've seen that include formulas, all of them use xmlns:math and include a

xmlns:math="http://www.w3.org/1998/Math/MathML"

attribute in the COLLADA tag. I've tried to do this in collada-dom with no success by:

daeSafeCast<domCOLLADA>(doc->getDomRoot())->setAttribute("xmlns:math","http://www.w3.org/1998/Math/MathML");

The problem is that collada-dom limits the attributes that could be set and *does not* allow a xmlns:math attribute. As a quick hack, I ended up modifying and using a local copy of collada-dom with the xmlns:math attribute properly added in domCOLLADA.cpp.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks