support 1.4 and 1.5 in the same project?

Help
Peter Shi
2009-06-04
2013-05-01
  • Peter Shi

    Peter Shi - 2009-06-04

    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?

     
    • Christoph Nenning

      > 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.

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

Sign up for the SourceForge newsletter:





No, thanks