[x3d-public] HAnim Java code (serializer based) Summary of errors.

John Carlson yottzumm at gmail.com
Mon Nov 1 17:25:35 PDT 2021


Error report from Java code:


========================== net.coderextreme.data.JinLOA4

> org.web3d.x3d.sai.InvalidFieldException: ERROR_ILLEGAL_VALUE: 
> HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent found: 
> HAnimJoint name='hanim_humanoid_root' name='humanoid_root'

In X3DUOM:

<SimpleType name="hanimSegmentNameValues"
                  baseType="xs:NMTOKEN"
                  appinfo="CAESAR segment names for identification of 
HAnimSegment nodes as defined in the HAnim Architecture specification. 
This list is unbounded,
additional enumeration values are allowed."
                  documentation="https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/concepts.html#Hierarchy">
         <enumeration value="sacrum"
                      index="1"
                      loa="1"
                      parent="humanoid_root"
                      documentation="https://en.wikipedia.org/wiki/Sacrum"/>

Also:


<field name="name"
                   type="SFString"
                   accessType="inputOutput"
                   additionalEnumerationValuesAllowed="true"
                   simpleType="hanimSegmentNameValues"
                   baseType="xs:NMTOKEN"
                   description="Unique name attribute must be defined so 
that HAnimSegment node can be identified at run time for animation 
purposes.">
               <enumeration value="sacrum"
                            index="1"
                            loa="1"
                            parent="humanoid_root"
                            documentation="https://en.wikipedia.org/wiki/Sacrum"/>


***Looks like humanoid_root is parent of sacrum.  We're not sure why 
X3DJSAIL is reporting an error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211101/7a77b875/attachment.html>


More information about the x3d-public mailing list