<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><b>Bolded</b> is most important</p>
<p>Re: metadata containerField possible issues:</p>
<p>Here's the X3DUOM, bottom of <b>MetadataSet </b>ConcreteNode<b>,</b>
AFAICT:<br>
</p>
<p><containerField default="value" type="<b>containerFieldChoicesMetadata</b>"/></p>
<p>Here's the SimpleType from above type:</p>
<p> <SimpleType name="<b>containerFieldChoicesMetadata</b>"<br>
baseType="xs:NMTOKEN"<br>
appinfo="containerFieldChoicesMetadata lists the
allowed containerField enumeration values for Metadata nodes:
"value" if providing information and parent node
is MetadataSet collection, otherwise default
"metadata" if providing information about parent
node."<br>
documentation=<a class="moz-txt-link-rfc2396E" href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#containerField">"https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#containerField"</a>><br>
<enumeration value="<b>metadata</b>"<br>
appinfo="this node provides metadata
information regarding its parent node."/><br>
<enumeration value="value"<br>
appinfo="parent node is MetadataSet, this
node is providing information as part of a MetadataSet
collection."/><br>
</SimpleType></p>
<p>So this shows to me that /metadata/ can be a containerField for
MetadataSet. <b>I know why /metadata/ is not within
MetadataSet.java alternate containerFields. </b> I will have to
go back in email to figure out what data file I was using. In
other words, I looked at X3DUOM and it looked okay, so I looked at
the stylesheet, it looked like it didn't even used the above
enumeration, just the default and some hard-coded stuff (under
development?). I understand the nature of taking time to apply
patches.<br>
</p>
<p>I understand that I am having troubles communicating. All I can
do is try again, or give up, or take better care of myself.</p>
At this point, I would welcome working with x3d.py instead of
X3DJSAIL for HAnim. See below.<br>
<p><b>$ python JinLOA4.py </b><b><br>
</b><b>x3d.py package loaded, have fun with X3D Graphics!</b><b><br>
</b><b>Python-to-XML well-formed XML document test of XML output
successful</b><b><br>
</b><b>Python-to-XML X3D 4.0 schema validation test of XML output
successful</b><b><br>
</b><b>Python-to-VRML export of VRML output successful (still
testing)</b><b><br>
</b><b>Python-to-JSON export of JSON output successful (still
testing)</b><b><br>
</b><b>python x3d.py load and self-test complete for JinLOA4.py</b></p>
<p>Looking good. Not so good my python code, which is based on
X3DJSAIL. This has been discussed.<br>
</p>
<p><b>Here are some file sizes from JinLOA4 examples in X3DJSONLD.
Note that your python file size is approaching the uncompressed
XML size. Woohoo! Congratulations!</b><b><br>
</b></p>
<p><b>-rw-rw-r-- 1 coderextreme coderextreme 783722 Dec 24 16:42
c/net/coderextreme/data/JinLOA4.c</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 817997 Dec 24 16:42
cplusplus/net/coderextreme/data/JinLOA4.cpp</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 2075748 Dec 24 16:42
dart/net/coderextreme/data/JinLOA4.dart</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 1891361 Dec 24 16:42
data/JinLOA4.json</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme </b><b>684157</b><b>
Dec 24 16:39 data/JinLOA4.x3d</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme </b><b>595602</b><b>
Dec 24 16:42 data/JinLOA4.x3d.new</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 813298 Dec 24 16:42
java/net/coderextreme/data/JinLOA4.java</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 808820 Dec 24 16:45
java/net/x3djsonld/data/JinLOA4.java</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 1240299 Dec 24 16:42
node/net/coderextreme/data/JinLOA4.js</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 1078827 Dec 24 16:42
node/net/ecma/data/JinLOA4.mjs</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 932175 Dec 24 16:20
node/net/x3djsonld/data/JinLOA4.js</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 700470 Dec 24 16:42
python/net/coderextreme/data/JinLOA4.py</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme </b><b>685190</b><b>
Dec 24 16:48 python/net/x3djsonld/data/JinLOA4.py</b><b><br>
</b><b>-rw-rw-r-- 1 coderextreme coderextreme 807415 Dec 24 16:42
vrml/net/coderextreme/data/JinLOA4.js</b></p>
<p><b><br>
</b></p>
<p><b>Also, unindented JSON approaches unindented XML *.x3d.new:</b></p>
<p><b>data$ cat JinLOA4.json |sed 's/^ *//' |wc</b><b><br>
</b><b> 11125 12961 </b><b>601583</b></p>
<p>Here's the files I've restored to "golden" to sync up:</p>
(venv)
<a class="moz-txt-link-abbreviated" href="mailto:coderextreme@coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org$">coderextreme@coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org$</a> svn
revert --depth=infinity .<br>
<p>Reverted 'x3d/stylesheets/X3dToNodeJS.xslt'<br>
Reverted 'x3d/stylesheets/python/build.xml'<br>
Reverted 'x3d/stylesheets/X3dToJson.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dToVrml97.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dToPython.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dToJava.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dToNodeJS.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dToHtml.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dTidy.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dToJson.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dToX3dom.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/stylesheets/X3dToXhtml.xslt'<br>
Reverted 'x3d/stylesheets/java/lib/specifications/x3d-3.0.xsd'<br>
Reverted 'x3d/stylesheets/java/lib/specifications/x3d-3.1.xsd'<br>
Reverted 'x3d/stylesheets/java/lib/specifications/x3d-4.0.xsd'<br>
Reverted 'x3d/stylesheets/java/lib/specifications/x3d-3.2.xsd'<br>
Reverted 'x3d/stylesheets/java/lib/specifications/x3d-3.3.xsd'<br>
Reverted
'x3d/stylesheets/java/lib/specifications/x3d-schema-changelog.txt'<br>
Reverted 'x3d/stylesheets/java/examples/build.xml'<br>
Reverted
'x3d/stylesheets/java/src/org/web3d/x3d/util/x3duom/X3DUnifiedObjectModel40.java'<br>
Reverted 'x3d/stylesheets/java/build.xml'<br>
Reverted 'x3d/stylesheets/build.xml'<br>
(venv)
<a class="moz-txt-link-abbreviated" href="mailto:coderextreme@coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org$">coderextreme@coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org$</a> svn
diff .<br>
(venv)
<a class="moz-txt-link-abbreviated" href="mailto:coderextreme@coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org$">coderextreme@coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org$</a> <br>
<br>
Thus all my ditzing with my local sourceforge mirror has been
undone. While I'm fixing it, you can finish your deployments.<br>
<b></b></p>
<p>John<br>
</p>
<div class="moz-cite-prefix">On 12/28/21 18:00, Brutzman, Donald
(Don) (CIV) wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BY3PR13MB48842ED75D566340D37C7949C4439@BY3PR13MB4884.namprd13.prod.outlook.com">
<pre class="moz-quote-pre" wrap="">Hi John, thanks for call today. Here is reply to your questions.
1. Version increment in X3DPSAIL’s setup.py
The version number is incremented each time there is a new release. It is not modified otherwise.
New releases are announced on the mailing list and are directly inspectable at pypi, the Python Packaging Index. PyPi currently reports last update as version 4.0.45 on 8 December 2021.
* <a class="moz-txt-link-freetext" href="https://pypi.org/project/x3d">https://pypi.org/project/x3d</a>
Thus you can always know what the latest version number is.
2. Stiffness parameter type or conversion in x3d.py
Already reported several times on mailing list, thanks to your original inquiry, there is a question whether they should be MFFloat or SFVec3f. I am awaiting time for a phone call with Dick Puk to confirm. Until then, the issue remains open.
Currently everything deployed for X3D 4.0 for stiffness, ulimit, llimit is SFVec3f with default 0 0 0. After we discuss we will be able to update X3D4 Architecture CD1 draft and Mantis.
All changes are checked in promptly. As usual you can check sourceforge for current settings, even when full deployment takes a day or two.
All changes are applied to all ~4000 examples so we have a robust and extensive suite of unit tests.
We have updated X3D Validator locally, also fixed log4j security vulnerability and some other small issues. You can always check the date at the bottom of that page to confirm when the latest update was.
3. Fix or remove alternate containerFields in X3DJSAIL. /metadata/ alternate in MetadataSet.java. Discussion of alternate containerField enumerations in X3DUOM.
Also reported on mailing list last week. X3D3 and X3D4 containerField corrections relevant HAnimHumanoid/Metadata have been applied and deployed to the models in X3D Examples Humanoid Animation archives, with most subsequent changes now deployed.
Authors modify the name of a containerField to correctly show the field relationship to the parent. You should never (i repeat Never Never Never) need to touch alternative containerField sources in underlying X3DJSAIL code.
4. llimit and ulimit default values fixed in X3DJSAIL.
As X3DJSAIL date at bottom of home page indicates, that build has not been updated yet. I am applying the log4j security fix before updating that. Real Soon Now hopefully.
Thanks for your reports. Once again, if you are building your own versions, you must use latest X3D DTD Schema and X3DUOM. All dates are inspectable. If we get those ground-truth versions fixed, all of the other changes are handled sooner or (sometimes) later.
It's been a productive year. Have fun with X3D! 8)
v/r Don
________________________________________
From: x3d-public <a class="moz-txt-link-rfc2396E" href="mailto:x3d-public-bounces@web3d.org"><x3d-public-bounces@web3d.org></a> on behalf of John Carlson <a class="moz-txt-link-rfc2396E" href="mailto:yottzumm@gmail.com"><yottzumm@gmail.com></a>
Sent: Sunday, December 26, 2021 20:07
To: X3D Graphics public mailing list
Subject: [x3d-public] 4 things before pursuing further development
Summary of things to fix:
1. Version increment in X3DPSAIL’s setup.py
2. Stiffness parameter type or conversion in x3d.py
3. Fix or remove alternate containerFields in X3DJSAIL. /metadata/ alternate in MetadataSet.java. Discussion of alternate containerField enumerations in X3DUOM.
4. llimit and ulimit default values fixed in X3DJSAIL.
Further development:
TL;DR — Summary: HAnim Java and maybe Python needs work.
In addition, I recommend running Java code generation and invocation for HAnim .x3d examples. I realize that my code is more robust during compilation, or at least it was. I have updated my HAnim examples. I need one meeting with Don and Joe to resolve issues beyond large code. Notification of further changes to HAnim examples welcome. Validators will be useful here. JSON output from Java not currently feasible because there are warnings, even beyond large code exceptions. We may also consider python HAnim, which run into the same problems as Java in my case. I have not tried HAnim with Don’s python generated code much.
</pre>
</blockquote>
</body>
</html>