[x3d-public] [ Ignore ] Update from the HAnim java battle ground. Attaching full Java.

John Carlson yottzumm at gmail.com
Fri Jan 6 08:45:12 PST 2023


Here's don's Java stylesheet errors, much relaxed at first!
BEGIN ../data/JoeSkeletonSkinSiteSaluteWalk.x3d > java, [meta]
name='warning' content='Under development, numerous errors and warnings'
[meta] name='TODO' content='This is an HAnimV1 loa model, might need to
convert to X3D4 to note loa value'
[meta] name='TODO' content='Provide feedback to tovrmlx3d converter'
[meta] name='TODO' content='HAnimJoint cannot contain X3DChildNode
elements, only HAnimJoint HAnimSegmet HAnimSite - improve diagnostics.'
[meta] name='TODO' content='ensure name prefix "Joe_" applied to all
contained DEF values (not name field), perhaps correction automatically
applied by X3DTidy'
END ../data/JoeSkeletonSkinSiteSaluteWalk.x3d


$ java net/x3djsonld/data/JoeSkeletonSkinSiteSaluteWalk -validate
../data/JoeSkeletonSkinSiteSaluteWalk.x3d
Info: HAnimJoint name newValue='HumanoidRoot' includes an unrecognized
value not matching any of the optional string tokens.
Warning: HAnim name values are lower case, check capitalization/spelling of
HAnimJoint name='HumanoidRoot'
Info: HAnimJoint name newValue='l_ankle' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_hindfoot' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_subtalar' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_midproximal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_midtarsal' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_middistal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_metatarsal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_forefoot' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_ankle' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_hindfoot' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_subtalar' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_midproximal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_midtarsal' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_middistal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_metatarsal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_forefoot' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSegment name newValue='toPelvis' includes an unrecognized value
not matching any of the optional string tokens.
Warning: HAnim name values are lower case, check capitalization/spelling of
HAnimSegment name='toPelvis'
Info: HAnimSite name newValue='skull_tip' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_wrist' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_hand' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_thumb1' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_thumb_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_thumb2' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_thumb_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_thumb3' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_thumb_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='l_thumb_distal_tip' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_index0' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_index_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_index1' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_index_proximal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_index2' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_index_middle' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_index3' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_index_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='l_index_distal_tip' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_middle0' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_middle_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_middle1' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_middle_proximal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_middle2' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_middle_middle' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_middle3' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_middle_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='l_middle_distal_tip' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_ring0' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_ring_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_ring1' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_ring_proximal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_ring2' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_ring_middle' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_ring3' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_ring_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='l_ring_distal_tip' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_pinky0' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_pinky_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_pinky1' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_pinky_proximal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_pinky2' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_pinky_middle' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='l_pinky3' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='l_pinky_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='l_pinky_distal_tip' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_wrist' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_hand' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_thumb1' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_thumb_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_thumb2' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_thumb_proximal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_thumb3' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_thumb_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='r_thumb_distal_tip' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_index0' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_index_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_index1' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_index_proximal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_index2' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_index_middle' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_index3' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_index_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='r_index_distal_tip' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_middle0' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_middle_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_middle1' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_middle_proximal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_middle2' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_middle_middle' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_middle3' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_middle_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='r_middle_distal_tip' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_ring0' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_ring_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_ring1' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_ring_proximal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_ring2' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_ring_middle' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_ring3' includes an unrecognized value not
matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_ring_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='r_ring_distal_tip' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_pinky0' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_pinky_metacarpal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_pinky1' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_pinky_proximal' includes an
unrecognized value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_pinky2' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_pinky_middle' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimJoint name newValue='r_pinky3' includes an unrecognized value
not matching any of the optional string tokens.
Info: HAnimSegment name newValue='r_pinky_distal' includes an unrecognized
value not matching any of the optional string tokens.
Info: HAnimSite name newValue='r_pinky_distal_tip' includes an unrecognized
value not matching any of the optional string tokens.


ERROR_ILLEGAL_VALUE: HAnimSegment DEF='Joe_sacrum' name='sacrum' illegal
parent found: HAnimJoint name='Joe_HumanoidRoot' name='HumanoidRoot'

Traceback (most recent call last):
  File "C:\Users\john\X3DJSONLD\src\main\python\x3d.py", line 15001, in
XMLvalidate
    import xmlschema
ModuleNotFoundError: No module named 'xmlschema'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./net/x3djsonld/data/JoeSkeletonSkinSiteSaluteWalk.py", line 1953,
in <module>
    newModel.XMLvalidate()
  File "C:\Users\john\X3DJSONLD\src\main\python\x3d.py", line 15022, in
XMLvalidate
    print("    x3dSchemaUrl=" + x3dSchemaUrl)
UnboundLocalError: local variable 'x3dSchemaUrl' referenced before
assignment
~/X3DJSONLD/src/main/shell
running node
~/X3DJSONLD/src/main/node ~/X3DJSONLD/src/main/shell
C:\Users\john\X3DJSONLD\node_modules\java\lib\nodeJavaBridge.js:240
  var fields = SyncCall(clazz, 'getDeclaredFields')();

I'll post Joe and Don with a follow up message with a zip, nearly meeting
time.

John

On Fri, Jan 6, 2023 at 9:53 AM John Carlson <yottzumm at gmail.com> wrote:

>
> Apparently, I had been running without a compiled stylesheet runner!
>
> Error report halted.
>
> Compilation added to prior to using RunSaxon.java.
>
> Whew!
>
> Problem resolved in JoeSkeletonSkinSiteSaluteWalk.java
>
> Thanks!
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230106/02f5df84/attachment-0001.html>


More information about the x3d-public mailing list