[x3d-public] Here are sum total of changes to XML schema to suppport HAnimMotion development

John Carlson yottzumm at gmail.com
Fri Sep 22 06:35:24 PDT 2023


Please approve if you are concerned.  These fields are in the standard, but
are treated differently by XML Schema.  The first change is to declare the
motionsEnabled field [in,out]

The others should be self explanatory, but by all means, double check my
work against the standard.  Thanks!

$ svn diff x3d-4.0.xsd
Index: x3d-4.0.xsd
===================================================================
--- x3d-4.0.xsd (revision 35491)
+++ x3d-4.0.xsd (working copy)
@@ -5473,6 +5473,7 @@
                        <xs:enumeration value="modulationTypeDetail"/>
                        <xs:enumeration value="modulationTypeSystem"/>
                        <xs:enumeration value="momentsOfInertia"/>
+                       <xs:enumeration value="motionsEnabled"/>
                        <xs:enumeration value="motor1Axis"/>
                        <xs:enumeration value="motor2Axis"/>
                        <xs:enumeration value="motor3Axis"/>
@@ -19561,6 +19562,7 @@
                                        <xs:attribute
name="jointBindingRotations" type="MFRotation" default="0 0 1 0"/>
                                        <xs:attribute
name="jointBindingScales" type="MFVec3f" default="0 0 0"/>
                                        <xs:attribute name="loa"
type="loaType" default="-1"/>
+                                       <xs:attribute name="motionsEnabled"
type="MFBool" default=""/>
                                        <xs:attribute name="name"
type="xs:NMTOKEN">
                                                <xs:annotation>
                                                        <xs:appinfo>name
attribute is ordinarily required, unless this is a USE node</xs:appinfo>
@@ -19730,7 +19732,7 @@
                <xs:complexType>
                        <xs:complexContent>
                                <xs:extension base="X3DChildNode">
-                                       <xs:attribute name="channels"
type="MFString"/>
+                                       <xs:attribute name="channels"
type="SFString"/>
                                        <xs:attribute
name="channelsEnabled" type="MFBool"/>
                                        <xs:attribute name="description"
type="SFString"/>
                                        <xs:attribute name="enabled"
type="SFBool" default="false"/>
@@ -19756,7 +19758,7 @@
                                                        </xs:restriction>
                                                </xs:simpleType>
                                        </xs:attribute>
-                                       <xs:attribute name="joints"
type="MFString"/>
+                                       <xs:attribute name="joints"
type="SFString"/>
                                        <xs:attribute name="loa"
type="loaType" default="-1"/>
                                        <xs:attribute name="loop"
type="SFBool" default="false"/>
                                        <xs:attribute name="name"
type="xs:NMTOKEN">
@@ -25843,4 +25845,4 @@
                </xs:complexType>
        </xs:element>

<!--======================================================================-->
-</xs:schema>
\ No newline at end of file
+</xs:schema>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230922/338d5bdf/attachment.html>


More information about the x3d-public mailing list