Missing Images in dae file

Hi Guys,

I’m new to Collada, but have been diving in head first. I’m making a mesh that uses a material that has a shader which has multiple textures.

yeah…

Problem is my textures are all getting set to init from the same image, most likely the first one it comes across. Then when it lists my images it only lists the one that its setting all my textures to init from.
For example:

<setparam ref=“gColorTexture”>
<surface type=“2D”>
<init_from>imageD</init_from>
</surface>
</setparam>

<setparam ref=“normalMap”>
<surface type=“2D”>
<init_from>imageD</init_from>
</surface>
</setparam>

<setparam ref=“gEnvTexture”>
<surface type=“CUBE”>
<init_from>imageD</init_from>
</surface>
</setparam>

BUT it should be doing:

<setparam ref=“gColorTexture”>
<surface type=“2D”>
<init_from>imageD</init_from>
</surface>
</setparam>

<setparam ref=“normalMap”>
<surface type=“2D”>
<init_from>imageN</init_from>
</surface>
</setparam>

<setparam ref=“gEnvTexture”>
<surface type=“CUBE”>
<init_from>Reflection</init_from>
</surface>
</setparam>

I’m using OpenCOLLADA2011 and would appreciate any help or suggestions I can get.
I’m a programmer and have no issues modifying the code in the openCollada colladaMaya project if that is what it takes.
Thanks!