Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

difficult_xml_unknown_elements test fails for Matrix #2093

Open
mtelka opened this issue Nov 15, 2024 · 0 comments
Open

difficult_xml_unknown_elements test fails for Matrix #2093

mtelka opened this issue Nov 15, 2024 · 0 comments

Comments

@mtelka
Copy link

mtelka commented Nov 15, 2024

The difficult_xml_unknown_elements test fails with this output:

/data/builds/oi-userland/components/library/opencolorio/OpenColorIO-2.4.0/tests/cpu/fileformats/FileFormatCTF_tests.cpp:1436:
FAILED: std::string::npos != StringUtils::Find(parts[i], ErrorOutputs[i])
        values were '18446744073709551615' and '18446744073709551615'

The difference is that the test expects this:

"(75): Unrecognized element 'Matrix' where its parent is 'LUT1D' (43): 'Matrix' not allowed in this element"

but it gets the following instead (please note 43 vs. 46):

"(75): Unrecognized element 'Matrix' where its parent is 'LUT1D' (46): 'Matrix' not allowed in this element"

And yes, the testing file contains the Matrix at line 46, not 43:

<LUT1D id="4ed2af07-9319-430a-b18a-43368163c808" inBitDepth="32f" outBitDepth="32f"
name='a multi-line
name'>
<Description>the n&#8211;dash description</Description>
<Array dim="17 3">
0.00000 0.00000 0.00000
0.28358 2.8358E-1 0.28358
0.38860 0.38860 0.38860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant