<div dir="auto">hoping to see value field added to HAnimHumanoid in X3DUOM, or some notice that the package generating stylesheets are not up-to-date.</div><div dir="auto"><br></div><div dir="auto">Also, check to make sure stiffness is assigned the right data structure (between list and tuple).   And no, iOS, I do not want “Tupperware” for the second time.   We need more women mathematicians (sorry for any stereotyping).  On that subject, I wonder what coordinate system crocheted hats use?</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 20, 2021 at 3:17 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
  
    
  
  <div>
    <p>Okay, now I seem to be having a similar problem between my python
      serializer, X3dToPython.xslt, and probably other serialized
      stuff.  I couldn't figure out how to fix the stiffness issue in
      X3dToPython.xslt, but hand-editing saved that on this particular
      python file (python/net/x3djsonld/data/JinLOA4.py). Other JinLOA's
      still have lists with Don's generator.<br>
    </p>
    <p>I believe the main change I am dealing with is metadata vs value
      containerFields.   See JSON diff below.  I'm not seeing relevant
      changes to X3D JSON schema 4.0.  Does something need to be
      upgraded in X3DUOM or X3D JSON schema?  I'm not seeing a value
      field in HAnimHumanoid.<br>
    </p>
    <p><span style="font-family:monospace"><span style="font-weight:bold;font-family:monospace;background-color:rgb(255,255,255);color:rgb(84,84,255)">~/X3DJSONLD/src/main/python/net/coderextreme/data</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">$ python
          JinLOA4.py  </span><br>
        Traceback (most recent call last): <br>
         File
"/home/coderextreme/X3DJSONLD/src/main/python/net/coderextreme/data/JinLOA4.py",
        line 148, in <module> <br>
           HAnimHumanoid23.setValue(MetadataSet24) <br>
        AttributeError: 'org.web3d.x3d.jsail.HAnim.HAnimHumanoid' object
        has no attribute 'setValue'. Did you mean: 'setName'? <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"></span><br>
        <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"></span><span style="font-weight:bold;font-family:monospace;background-color:rgb(255,255,255);color:rgb(84,84,255)">~/X3DJSONLD/src/main/python/net/x3djsonld/data</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">$ python
          JinLOA4.py        </span><br>
        x3d.py package loaded, have fun with X3D Graphics! <br>
        Traceback (most recent call last): <br>
         File
"/home/coderextreme/X3DJSONLD/src/main/python/net/x3djsonld/data/JinLOA4.py",
        line 50, in <module> <br>
   HAnimHumanoid(DEF='hanim_JinLOA4',loa=4,name='JinLOA4',scale=(0.0225,0.0225,0.0225),version='2.0',
        <br>
        TypeError: HAnimHumanoid.__init__() got an unexpected keyword
        argument 'value'</span></p>
    <p><span style="font-family:monospace"><br>
      </span></p>
    <p><span style="font-family:monospace"><br>
      </span></p>
    <p><br>
      <span style="font-family:monospace"><span style="font-family:monospace"><span style="font-weight:bold;font-family:monospace;background-color:rgb(255,255,255);color:rgb(84,84,255)">~/X3DJSONLD/src/main/data</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">$ git diff
            JinLOA4.json </span><br>
          <span style="font-weight:bold;font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">diff
            --git a/src/main/data/JinLOA4.json
            b/src/main/data/JinLOA4.json</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
          <span style="font-weight:bold;font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">index
            c970a652a..e1930f4cf 100644</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
          <span style="font-weight:bold;font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">---
            a/src/main/data/JinLOA4.json</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
          <span style="font-weight:bold;font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">+++
            b/src/main/data/JinLOA4.json</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(24,178,178)">@@ -78,7
            +78,7 @@</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
                    }, <br>
                    { <br>
                      "@name":"translated", <br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(178,24,24)">-
                       "@content":"14 October 2021"</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(24,178,24)">+
                       "@content":"20 December 2021"</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
                    }, <br>
                    { <br>
                      "@name":"generator", <br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(24,178,178)">@@
            -116,7 +116,7 @@</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
                        "@loa":4, <br>
                        "@scale":[0.0225,0.0225,0.0225], <br>
                        "@version":"2.0", <br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(178,24,24)">-
                         "-metadata":</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(24,178,24)">+
                         "-value":[</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
                          { "MetadataSet": <br>
                            { <br>
                              "@name":"HAnimHumanoid.info", <br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(24,178,178)">@@
            -160,7 +160,8 @@</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
                                } <br>
                              ] <br>
                            } <br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(178,24,24)">-
                           },</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(24,178,24)">+
                           }</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
          <span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(24,178,24)">+
                         ],</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)"> </span><br>
                        "-skeleton":[ <br>
                          { "HAnimJoint": <br>
                            {<br>
          <br>
          ===================</span></span></p>
    <p><span style="font-family:monospace"><span style="font-family:monospace">Validating JSON against schema:</span></span></p>
    <p><span style="font-family:monospace"><span style="font-weight:bold;font-family:monospace;background-color:rgb(255,255,255);color:rgb(84,84,255)">~/X3DJSONLD/src/main/schema</span><span style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">$ node
          ~/x3dvalidate/x3dvalidate.js ../data/JinLOA4.json  </span><br>
        Loading schema <br>
        Parsing schema <br>
        Adding schema <br>
        Schema 4.0 added <br>
        Schema 4.0 compiled <br>
================================================================================
        <br>
        File: ../data/JinLOA4.json <br>
        Error reading ../data/JinLOA4.json  <br>
        keyword: required <br>
        instancePath: /X3D/Scene/-children/3/HAnimHumanoid <br>
        message: must have required property @USE <br>
        params: {"missingProperty":"@USE"} <br>
        file: ../data/JinLOA4.json <br>
        version: 4.0 <br>
        <br>
        keyword: additionalProperties <br>
        instancePath: /X3D/Scene/-children/3/HAnimHumanoid <br>
        message: must NOT have additional properties <br>
        params: {"additionalProperty":"-value"} <br>
        file: ../data/JinLOA4.json <br>
        version: 4.0 <br>
        <br>
        keyword: oneOf <br>
        instancePath: /X3D/Scene/-children/3/HAnimHumanoid <br>
        message: must match exactly one schema in "oneOf" <br>
        params: {"passingSchemas":null} <br>
        file: ../data/JinLOA4.json <br>
        version: 4.0</span></p>
  </div>
</blockquote></div></div>