[x3d-public] X3DJSAIL release: log4j update, Blender 3.0 compatibility

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Fri Dec 31 09:38:34 PST 2021


John, thanks for this report.  Clearly your results do not match what I am getting, what the build logs indicate, or what has been deployed online.

Since X3DJSAIL is generated from X3DUOM, and since the online X3DUOM is correct, appears that there is a mismatched X3DUOM on your system... am rechecking.

Aha.  I had deployed but not committed those changes into subversion (too much fruitcake perhaps)... now committed.

Reference version:


  *   https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml

Verified correct excerpt:

         <field name="llimit"
                   type="SFVec3f"
                   accessType="inputOutput"
                   default="0 0 0"
                   description="Lower limit for minimum joint rotation in radians."/>

I spoke with Dick about this yesterday, we have conceptual agreement that it is important for types and defaults to be precisely consistent with HAnim version 2.  We expect to review and correct X3D4 Architecture specification prose next week.

Apologies for late commit, again thanks for helpful error reports.

all the best, Don
--
Don Brutzman  Naval Postgraduate School, Code USW/Br        brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149
X3D graphics, virtual worlds, navy robotics https:// faculty.nps.edu/brutzman

From: John Carlson <yottzumm at gmail.com>
Sent: Thursday, December 30, 2021 10:24 PM
To: Brutzman, Donald (Don) (CIV) <brutzman at nps.edu>; X3D Public Mailing List (x3d-public at web3d.org) <x3d-public at web3d.org>
Subject: Re: X3DJSAIL release: log4j update, Blender 3.0 compatibility


X3DJSAIL build:

x3d/stylesheets$ ant create.X3DJSAIL

I get the following:

    [javac] Compiling 368 source files to /c/x3d-code/www.web3d.org/x3d/stylesheets/java/classes
    [javac] /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/HAnim/HAnimJoint.java:3568: error: cannot find symbol
    [javac]         llimit = UNDEFINED; // [Error in X3DUOM, XML Schema] No default value found for HAnimJoint field llimit
    [javac]                  ^
    [javac]   symbol:   variable UNDEFINED
    [javac]   location: class HAnimJoint
    [javac] /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/HAnim/HAnimJoint.java:3579: error: cannot find symbol
    [javac]         ulimit = UNDEFINED; // [Error in X3DUOM, XML Schema] No default value found for HAnimJoint field ulimit
    [javac]                  ^
    [javac]   symbol:   variable UNDEFINED
    [javac]   location: class HAnimJoint
    [javac] Note: /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/X3DLoaderDOM.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

BUILD FAILED
/c/x3d-code/www.web3d.org/x3d/stylesheets/build.xml:490: Compile failed; see the compiler error output for details.

I totally understand that you wanted to advance the log4j fix.
On 12/30/21 17:41, Brutzman, Donald (Don) (CIV) wrote:
Am happy to announce an updated release for X3DJSAIL.


  1.  X3D Java Scene Access Interface Library (X3DJSAIL)
  2.  https://www.web3d.org/specifications/java/X3DJSAIL.html
  3.  "X3D Java Scene Access Interface Library (X3DJSAIL) supports programmers with standards-based X3D Java interfaces and objects, all as open source."

Upgraded jars in this update addresses the recent potential security vulnerability found in Log4J logging library.  Close study uncovered no evidence or rationale that the log4j library vulnerability might have had any exposure within Xj3DJSAIL, but (similar to other major Java libraries) we have nevertheless acted out of an abundance of caution.   Details at

  1.  Apache Log4j 2
  2.  https://logging.apache.org/log4j/2.x<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flogging.apache.org%2Flog4j%2F2.x&data=04%7C01%7Cbrutzman%40nps.edu%7Ca3c665099767493bb8d908d9cc26136c%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C637765286179658692%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3%2BYj%2BkEzYeOoqCrUlk6nhOSSIlKII39dA0iyiTdxOD4%3D&reserved=0>

Other features:

  1.  Compatibility with Blender 3.0, providing export capabilities such as programmatic viewpoint image capture.
  2.  Testing of HAnimJoint fields for ulimit llimit and stiffness as SFVec3f with default values or "0 0 0" to be consistent with reference specification Humanoid Animation (HAnim) version 2.0.

Special thanks to John Carlson for in-depth testing and scrutiny that has helped with these advancements.

Despite all challenges, it has been a great year for advancing X3D4 programming in Java, Python, Semantic Web query, and other approaches.  We hope that everyone enjoys continuing progress, and welcome all questions and issue reports.

Have fun with X3D in 2022, Happy New Year!  8)

all the best, Don
--
Don Brutzman  Naval Postgraduate School, Code USW/Br        brutzman at nps.edu<mailto:brutzman at nps.edu>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149
X3D graphics, virtual worlds, navy robotics https:// faculty.nps.edu/brutzman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211231/f7b0c56e/attachment-0001.html>


More information about the x3d-public mailing list