While writing some unit tests for a collada reader I’m currently writing I stumbled over a validation problem with a test DAE file. The file contains this:
I’m talking about COLLADA 1.5.0. Sorry, forgot to mention this. According to the spec there is no source element in sampler2D anymore. But a missing or wrong element is not the problem here, Eclipse definitely thinks the sampler2D element must be completely empty. Even completion doesn’t bring up any valid child element (And completion works perfectly for everything else).
So the question stays: Bug in the Schema file or bug in the Eclipse XML editor? But when nobody else ever mentioned this problem then I guess it works correctly in other products so it’s most likely a bug in the Eclipse XML editor.