I'm writing a program to export and import DAE files. I included both 1.4 and 1.5 libs of Collada DOM in the same project but the program seems to only work for 1.5 files. Is it possible to support 1.4 and 1.5 in the same project?
> Is it possible to support 1.4 and 1.5 in the same project?
This is not officially supported.
As DOM classes don't use namespaces there are name clashes in generated code (e.g. class domCOLLADA exists twice).
If you build two independent DOM libs and load them at runtime, you have to implement an own mechanism to decide which lib to use for which file.
You could open the file manually, have a look at the version or xmlns attributes and decide afterwards which DOM to use.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.