Khronos Public Bugzilla
Bug 756 - Schema & spec disagree on profile_* children of effect element
Schema & spec disagree on profile_* children of effect element
Status: NEW
Product: COLLADA
Classification: Unclassified
Component: Schema
1.5.0
All All
: P3 major
: ---
Assigned To: Fabrice Robinet
COLLADA Work Group email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-08 02:04 PST by Phil
Modified: 2014-01-07 10:23 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil 2012-12-08 02:04:35 PST
For child-elements of the <effect> element, the 1.5 spec states:

"At least one profile must appear, but any number of any of the following profiles can be included".

However, those are in the 1.5 XSD schema definition grouped as an <xs:choice>, meaning that one and only one of them may appear (at least and at most, since there are no minOccurs/maxOccurs defined for this <xs:choice> to indicate otherwise).

Not sure whether the bug is in the spec or in the schema here, really... would like to be enlightened here  ;)