0.9.1 collada export issue
Posted: Wed Aug 26, 2009 9:34 pm
I'm trying to import a collada object produced from version 0.9.1 (the 1.0 alpha doesn't seem to do collada exports...?) into a custom application using assimp, but it won't import. I've had a look at the output produced, and it doesn't validate according to the collada schema. Here's the output from the validator:
I'm guessing these errors are why assimp's struggling to load the model. Does anyone know of a workaround, or am I just going to have to wait for collada export to be reimplemented for 1.0?
$ /cygdrive/i/Software/coherencytest_win32_x86.exe laura.dae
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}asset': Missing child element(s). Expected is one of ( {http://www.collada.org/2005/11/COLLADASchema}contributor, {http://www.collada.org/2005/11/COLLADASchema}created ).
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}technique', attribute 'sid': '' is not a valid value of the atomic type 'xs:NCName'.
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}library_controllers': Missing child element(s). Expected is one of ( {http://www.collada.org/2005/11/COLLADASchema}asset, {http://www.collada.org/2005/11/COLLADASchema}controller ).
ERROR: CHECK_count Failed: expected=55854, result=111708(type=source,id=mesh-Geometry-Normals)array count != number of name in array value_count
I'm guessing these errors are why assimp's struggling to load the model. Does anyone know of a workaround, or am I just going to have to wait for collada export to be reimplemented for 1.0?