KhronosGroup / KhronosGroup/OpenCOLLADA

collada tag contains unspecified attribute xmlns:xsi for collada 1.4.1

Open
#621 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
679
Forks
260
PR merge metrics
No merged PRs in 30d

Description

When blender exports a collada file the collada tag contains:
``

The last attribute xmlns:xsi is not defined in the khronos documentation, see
page 5-22 in https://www.khronos.org/files/collada_spec_1_4.pdf

I suspect that line 101 in ColladaSWStreamWriter.cpp should be removed.

`if ( getCOLLADAVersion() == COLLADA_1_4_1 )
{
appendAttribute ( CSWC::CSW_ATTRIBUTE_XMLNS, CSWC::CSW_NAMESPACE_1_4_1 );
appendAttribute ( CSWC::CSW_ATTRIBUTE_VERSION, CSWC::CSW_VERSION_1_4_1 );
// next line maybe needs to be removed here:
appendAttribute ( CSWC::CSW_ATTRIBUTE_XMLNS_XSI, CSWC::CSW_XMLNS_XSI_1_5_0 );
}`

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect line 101 in ColladaSWStreamWriter.cpp and compare the COLLADA 1.4.1 root attributes with the linked Khronos specification. Confirm the generated 1.4.1 header no longer includes the unspecified xmlns:xsi attribute, then validate the resulting COLLADA output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.