Khronos Public Bugzilla
Bug 124 - "kinematics_connect_param_type" in "formula_setparam_type"?
"kinematics_connect_param_type" in "formula_setparam_type"?
Status: NEW
Product: COLLADA
Classification: Unclassified
Component: Schema
1.5.0
PC Windows
: P3 normal
: ---
Assigned To: Fabrice Robinet
COLLADA Work Group email alias
http://www.khronos.org/files/collada_...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-08 15:12 PDT by Dan Bartlett
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 Dan Bartlett 2009-04-08 15:12:21 PDT
"kinematics_connect_param_type" is found in "formula_setparam_type", and doesn't seem like it should be there, since there is already a "kinematics_setparam_type" that includes it.  As it is, they are copies of each other:

<xs:complexType name="formula_setparam_type">
- <xs:choice>
  <xs:element name="float" type="float_type" /> 
  <xs:element name="int" type="int_type" /> 
  <xs:element name="SIDREF" type="sidref_type" /> 
  <xs:element name="bool" type="xs:boolean" /> 
  <xs:element name="connect_param" type="kinematics_connect_param_type" /> 
  </xs:choice>
  <xs:attribute name="ref" type="xs:token" use="required" /> 
</xs:complexType>

<xs:complexType name="kinematics_setparam_type">
- <xs:choice>
  <xs:element name="float" type="float_type" /> 
  <xs:element name="int" type="int_type" /> 
  <xs:element name="SIDREF" type="sidref_type" /> 
  <xs:element name="bool" type="xs:boolean" /> 
  <xs:element name="connect_param" type="kinematics_connect_param_type" /> 
  </xs:choice>
  <xs:attribute name="ref" type="xs:token" use="required" /> 
  </xs:complexType>


If this is changed, the spec would need to make it clearer that connect_param is only available for use in Kinematics.