[x3d-public] These files fail Ajv JSON schema validation for draft07autogeneratedX3D JSON schema. Need eyes.

John Carlson yottzumm at gmail.com
Tue Apr 17 22:34:37 PDT 2018


I think you will find that these files don’t pass JSON schema, and we need to find out why.   Please help.   I already found one.

These have middistal_tip when it should be middle_distal_tip I think.   Please verify.

C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/BoxMan.json
C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/BoxManAnimationPanel.json
C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/InterchangableActorsViaDynamicRoutingPrototypes.json
C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1.json
C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1Illustrated.json
C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1Invisible.json
C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1.json
C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1Illustrated.json
C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1Invisible.json

Search for the error at the leaves of the hierarchy.

Attaching another Ajv results file as a zip this time.   Please review it, and don’t assume that if it passes your validation, that it will pass mine.

Also found here:  https://coderextreme.net/results.txt

John
Sent from Mail for Windows 10

From: Don Brutzman
Sent: Monday, April 16, 2018 11:36 PM
To: John Carlson
Cc: Roy Walmsley; x3d-public at web3d.org
Subject: Re: These files fail Ajv JSON schema validation for draft07autogeneratedX3D JSON schema. Need eyes.

Thanks for bug reports...

Had trouble getting much back of help.  Can you put AJV into a more verbose diagnostic mode?

On 4/16/2018 2:33 AM, John Carlson wrote:
> I was able to reduce the number of errors from Ajv by 75+%.  So there’s only 10 or so errors per file now.  Whew, and attached.
> 
> Many of these may be ProtoInstance @name and @USE together.
> 
> John
> 
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> 
> *From: *John Carlson <mailto:yottzumm at gmail.com>
> *Sent: *Monday, April 16, 2018 2:48 AM
> *To: *Don Brutzman <mailto:brutzman at nps.edu>; Roy Walmsley <mailto:roy.walmsley at ntlworld.com>; x3d-public at web3d.org <mailto:x3d-public at web3d.org>
> *Subject: *These files fail Ajv JSON schema validation for draft07 autogeneratedX3D JSON schema. Need eyes.
> 
> Please verify they are failing with Everit or online sources, and if so, fix the file or let me know what the error in the autogenerated versioned JSON schema is.  Or just report the actual error in the autogenerated schema for the version of X3D or file.
> 
> You may use my x3dschema project https://github.com/coderextreme/x3dschema.
> 
> Full error report from Ajv attached, gzipped, but it will probably lead you on some wild goose chases.
> 
> Run:
> 
> $ sh validate.sh
> 
> With X3D Resource examples JSON zip extracted to C:/x3d-code or /c/x3d-code
> 
> Thanks a bunch!

Only able to spot check a few .x3d scenes tonite, not enough time to run your tests too.

I ran jsonlint on a number, seemed to work.  You might do that back-to-back with your validation tests.

I reran all the JSON autogeneration last night, will upload them tonight.

> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Followers/FollowerPrototypeDeclarations.json

This scene has lots of problems.

Performing X3D Schematron check...
<meta name='warning' content='under development'/>[/X3D/head/meta[15], diagnostic]
<meta name='TODO' content='Rename and test these prototypes to match final names in X3D Specification Followers Component'/>[/X3D/head/meta[16], diagnostic]
<meta name='TODO' content='Ensure full coverage of follower nodes in order to provide backwards compatibility with X3D v3.0 and v3.1.'/>[/X3D/head/meta[17], diagnostic]
<ExternProtoDeclare name="OrientationChaser"/> has no corresponding ProtoInstance [/X3D/Scene/ExternProtoDeclare[1], warning]
<ExternProtoDeclare name="OrientationDamper"/> has no corresponding ProtoInstance [/X3D/Scene/ExternProtoDeclare[2], warning]
<ExternProtoDeclare name="OrientationDamper"/> url array contains .wrl link without corresponding .x3d version, some browsers may fail (url='"urn:inet:hersto.net:node:OrientationDamper" "Dampers.wrl#OrientationDamper" "http://www.hersto.net/Followers/Dampers.wrl#OrientationDamper"') [/X3D/Scene/ExternProtoDeclare[2], warning]
<ExternProtoDeclare name="PlacementChaser"/> has no corresponding ProtoInstance [/X3D/Scene/ExternProtoDeclare[3], warning]
<ExternProtoDeclare name="Position2fDamper"/> has no corresponding ProtoInstance [/X3D/Scene/ExternProtoDeclare[4], warning]
<ExternProtoDeclare name="Position2fDamper"/> url array contains .wrl link without corresponding .x3d version, some browsers may fail (url='"urn:inet:hersto.net:node:Position2fDamper" "Dampers.wrl#Position2fDamper" "http://www.hersto.net/Followers/Dampers.wrl#Position2fDamper"') [/X3D/Scene/ExternProtoDeclare[4], warning]
<ExternProtoDeclare name="Position2fChaser"/> has no corresponding ProtoInstance [/X3D/Scene/ExternProtoDeclare[5], warning]
<ExternProtoDeclare name="Position2fChaser"/> url array contains .wrl link without corresponding .x3d version, some browsers may fail (url='"urn:inet:hersto.net:node:Position2fChaser" "Chasers.wrl#Position2fChaser" "http://www.hersto.net/Followers/Chasers.wrl#Position2fChaser"') [/X3D/Scene/ExternProtoDeclare[5], warning]
<ExternProtoDeclare name="PositionChaser"/> has no corresponding ProtoInstance [/X3D/Scene/ExternProtoDeclare[6], warning]
<ExternProtoDeclare name="PositionChaser"/> url array contains .wrl link without corresponding .x3d version, some browsers may fail (url='"urn:inet:hersto.net:node:PositionChaser" "Chasers.wrl#PositionChaser" "http://www.hersto.net/Followers/Chasers.wrl#PositionChaser"') [/X3D/Scene/ExternProtoDeclare[6], warning]
<ExternProtoDeclare name="PositionDamper"/> has no corresponding ProtoInstance [/X3D/Scene/ExternProtoDeclare[7], warning]
<ExternProtoDeclare name="PositionDamper"/> url array contains .wrl link without corresponding .x3d version, some browsers may fail (url='"urn:inet:hersto.net:node:PositionDamper" "Dampers.wrl#PositionDamper" "http://www.hersto.net/Followers/Dampers.wrl#PositionDamper"') [/X3D/Scene/ExternProtoDeclare[7], warning]
<ExternProtoDeclare name="ScalarDamper"/> has no corresponding ProtoInstance [/X3D/Scene/ExternProtoDeclare[8], warning]
--------- Validation checks complete for FollowerExternalPrototypeDeclarations.x3d ---------

> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Followers/Slider.json

Went online to examples, and then "checkmark" button for online X3D Validator:

http://www.web3d.org/x3d/content/examples/Basic
http://www.web3d.org/x3d/content/examples/Basic/Followers/SliderIndex.html
https://savage.nps.edu/X3dValidator?url=http://www.web3d.org/x3d/content/examples/Basic/Followers/Slider.x3d

however having difficulty working from home tonite, didn't get any results...

> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Followers/ThirdPersonViewChaser.json

Performing X3D Schematron check...
<meta name='warning' content='under development'/>[/X3D/head/meta[13], diagnostic]
<ElevationGrid DEF='EvGridGround'/> height array has 4 values when (xDimension * zDimension = 40 * 40 = 1600) values are required [/X3D/Scene/Transform[1]/Shape/ElevationGrid]
<Collision DEF=''/> is inactive since enabled='false' (and no ROUTE is provided to change this value) [/X3D/Scene/Transform[3]/Collision, warning]
<IndexedFaceSet DEF=''/> missing texCoordIndex array for contained TextureCoordinate node [/X3D/Scene/Transform[4]/Shape/IndexedFaceSet, error]
--------- Validation checks complete for ThirdPersonViewFollower.x3d ---------

The ElevationGrid has no grid values (default is 4) because it gets populated y a script... Perhaps that is the cause?

> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/AllenDutton.json

Certainly has some HAnim irregularities but am not seeing any validation problems:


Performing X3D Schematron check...
<meta name='warning' content='X3D Validator reports numerous warnings are present'/>[/X3D/head/meta[8], diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> DEF value does not contain correctly modified version of name value (for example, DEF='myPrefix_nameValue' e.g. DEF='myPrefix_Humanoid') - see H-Anim section C.2 Humanoid, VRML Binding [/X3D/Scene/HAnimHumanoid, error]
<HAnimHumanoid DEF='Humanoid'/> version='' might not validate correctly, X3D validation support is tuned for ISO 19774 HAnimHumanoid version='2.2' [/X3D/Scene/HAnimHumanoid, warning]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(HAnimJoint)           within skeleton hierarchy        = 17[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(HAnimSegment)         within skeleton hierarchy        = 16[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(HAnimSite)            within HAnimHumanoid             = 1[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(HAnimSite/Viewpoint)  within skeleton hierarchy        = 0[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(HAnimDisplacer)       within skeleton hierarchy        = 0[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(<HAnimJoint   USE='*' containerField = 'joints'/>     = 17[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(<HAnimSegment USE='*' containerField = 'segments'/>   = 16[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(<HAnimSite    USE='*' containerField = 'sites'/>      = 0[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> node count(<HAnimSite    DEF='*' containerField = 'viewpoints'/> = 1[/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimHumanoid DEF='Humanoid' name='Humanoid'/> has mismatched HAnimSite           node counts, 1 within skeleton hierarchy and 0 USE nodes in sites field [/X3D/Scene/HAnimHumanoid, diagnostic]
<HAnimJoint DEF='hanim_HumanoidRoot' name='HumanoidRoot'/> is missing child HAnimSegment to complete the connection made by this joint [/X3D/Scene/HAnimHumanoid/HAnimJoint[1], error]
<HAnimSegment DEF='hanim_pelvis' name='pelvis'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0 1.01 -0.0204' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_pelvis' name='pelvis'/> has parent <HAnimJoint DEF='hanim_sacroiliac' center='0 1.01 -0.0204'/> that does not match child <Transform DEF='' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimSegment, warning]
<HAnimJoint DEF='hanim_l_hip' name='l_hip' center='0.122 0.888271 -0.0693267'/> has asymmetric center value that does not match corresponding <HAnimJoint DEF='hanim_r_hip' name='r_hip' center='-0.11 0.892362 -0.0732533'/> [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1], warning]
<HAnimSegment DEF='hanim_l_thigh' name='l_thigh'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0.122 0.888271 -0.0693267' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_l_thigh' name='l_thigh'/> has parent <HAnimJoint DEF='hanim_l_hip' center='0.122 0.888271 -0.0693267'/> that does not match child <Transform DEF='l_thigh_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1]/HAnimSegment, warning]
<HAnimJoint DEF='hanim_l_knee' name='l_knee' center='0.0738 0.517 -0.0284'/> has asymmetric center value that does not match corresponding <HAnimJoint DEF='hanim_r_knee' name='r_knee' center='-0.0699 0.51 -0.0166'/> [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint, warning]
<HAnimSegment DEF='hanim_l_calf' name='l_calf'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0.0738 0.517 -0.0284' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_l_calf' name='l_calf'/> has parent <HAnimJoint DEF='hanim_l_knee' center='0.0738 0.517 -0.0284'/> that does not match child <Transform DEF='l_calf_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint/HAnimSegment, warning]
<HAnimJoint DEF='hanim_l_ankle' name='l_ankle' center='0.0645 0.0719 -0.048'/> has asymmetric center value that does not match corresponding <HAnimJoint DEF='hanim_r_ankle' name='r_ankle' center='-0.064 0.0753 -0.0412'/> [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint/HAnimJoint, warning]
<HAnimSegment DEF='hanim_l_hindfoot' name='l_hindfoot'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0.0645 0.0719 -0.048' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_l_hindfoot' name='l_hindfoot'/> has parent <HAnimJoint DEF='hanim_l_ankle' center='0.0645 0.0719 -0.048'/> that does not match child <Transform DEF='l_foot_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_thigh' name='r_thigh'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='-0.11 0.892362 -0.0732533' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[2]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_thigh' name='r_thigh'/> has parent <HAnimJoint DEF='hanim_r_hip' center='-0.11 0.892362 -0.0732533'/> that does not match child <Transform DEF='r_thigh_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[2]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_calf' name='r_calf'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='-0.0699 0.51 -0.0166' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_calf' name='r_calf'/> has parent <HAnimJoint DEF='hanim_r_knee' center='-0.0699 0.51 -0.0166'/> that does not match child <Transform DEF='r_calf_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_hindfoot' name='r_hindfoot'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='-0.064 0.0753 -0.0412' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_hindfoot' name='r_hindfoot'/> has parent <HAnimJoint DEF='hanim_r_ankle' center='-0.064 0.0753 -0.0412'/> that does not match child <Transform DEF='r_foot_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_c7' name='l1'/> DEF value does not contain correctly modified version of name value (for example, DEF='myPrefix_nameValue' e.g. DEF='myPrefix_l1') - see H-Anim section C.2 Humanoid, VRML Binding [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimSegment, error]
<HAnimSegment DEF='hanim_c7' name='l1'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='-0.00405 1.07 -0.0275' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_c7' name='l1'/> has parent <HAnimJoint DEF='hanim_vl1' center='-0.00405 1.07 -0.0275'/> that does not match child <Transform DEF='torso_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimSegment, warning]
<HAnimJoint DEF='hanim_l_shoulder' name='l_shoulder' center='0.167 1.36 -0.0518'/> has asymmetric center value that does not match corresponding <HAnimJoint DEF='hanim_r_shoulder' name='r_shoulder' center='-0.167 1.36 -0.0458'/> [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1], warning]
<HAnimSegment DEF='hanim_l_upperarm' name='l_upperarm'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0.167 1.36 -0.0518' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_l_upperarm' name='l_upperarm'/> has parent <HAnimJoint DEF='hanim_l_shoulder' center='0.167 1.36 -0.0518'/> that does not match child <Transform DEF='l_upperarm_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1]/HAnimSegment, warning]
<HAnimJoint DEF='hanim_l_elbow' name='l_elbow' center='0.196 1.07 -0.0518'/> has asymmetric center value that does not match corresponding <HAnimJoint DEF='hanim_r_elbow' name='r_elbow' center='-0.192 1.07 -0.0498'/> [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1]/HAnimJoint, warning]
<HAnimSegment DEF='hanim_l_forearm' name='l_forearm'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0.196 1.07 -0.0518' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1]/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_l_forearm' name='l_forearm'/> has parent <HAnimJoint DEF='hanim_l_elbow' center='0.196 1.07 -0.0518'/> that does not match child <Transform DEF='l_forearm_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1]/HAnimJoint/HAnimSegment, warning]
<HAnimJoint DEF='hanim_l_wrist' name='l_wrist' center='0.213 0.811 -0.0338'/> has asymmetric center value that does not match corresponding <HAnimJoint DEF='hanim_r_wrist' name='r_wrist' center='-0.217 0.811 -0.0338'/> [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1]/HAnimJoint/HAnimJoint, warning]
<HAnimSegment DEF='hanim_l_hand' name='l_hand'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0.213 0.811 -0.0338' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_l_hand' name='l_hand'/> has parent <HAnimJoint DEF='hanim_l_wrist' center='0.213 0.811 -0.0338'/> that does not match child <Transform DEF='l_hand_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[1]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_upperarm' name='r_upperarm'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='-0.167 1.36 -0.0458' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_upperarm' name='r_upperarm'/> has parent <HAnimJoint DEF='hanim_r_shoulder' center='-0.167 1.36 -0.0458'/> that does not match child <Transform DEF='r_upperarm_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_forearm' name='r_forearm'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='-0.192 1.07 -0.0498' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_forearm' name='r_forearm'/> has parent <HAnimJoint DEF='hanim_r_elbow' center='-0.192 1.07 -0.0498'/> that does not match child <Transform DEF='r_forearm_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_hand' name='r_hand'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='-0.217 0.811 -0.0338' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_r_hand' name='r_hand'/> has parent <HAnimJoint DEF='hanim_r_wrist' center='-0.217 0.811 -0.0338'/> that does not match child <Transform DEF='r_hand_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_c4' name='c4'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0 1.43 -0.0458' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[3]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_c4' name='c4'/> has parent <HAnimJoint DEF='hanim_vc4' center='0 1.43 -0.0458'/> that does not match child <Transform DEF='neck_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[3]/HAnimSegment, warning]
<HAnimSegment DEF='hanim_skull' name='skull'/> has contained Transform/Shape, but child Transform/translation='0 0 0' does not match parent HAnimJoint/center='0 1.4 0' and may not be in the right location (possibly parent HAnimJoint/center value was changed but contained visualization geometry did not)[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[3]/HAnimJoint/HAnimSegment, warning]
<HAnimSegment DEF='hanim_skull' name='skull'/> has parent <HAnimJoint DEF='hanim_skullbase' center='0 1.4 0'/> that does not match child <Transform DEF='skull_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[3]/HAnimJoint/HAnimSegment, warning]
<IndexedFaceSet DEF=''/> missing texCoordIndex array for contained TextureCoordinate node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[3]/HAnimJoint/HAnimSegment/Transform/Shape/IndexedFaceSet, error]
<HAnimSite DEF='' name='BoxMan_view'/> contains 4 Viewpoints, more than one may be ambiguous [/X3D/Scene/HAnimHumanoid/HAnimSite, info]
<Collision DEF='HUD'/> is inactive since enabled='false' (and no ROUTE is provided to change this value) [/X3D/Scene/Group[1]/Collision, warning]

--------- Validation checks complete for AllenDutton.x3d ---------



> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/AllenDuttonProtoInstances.json
> 
> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/BoxMan.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/BoxManAnimationPanel.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/DiamondManLOA_0.json

well this ought to be a simple one at least...  but no....

<Transform DEF='r_upperarm_adjust'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimSegment/Transform, warning]
<HAnimSegment DEF='hanim_r_forearm' name='r_forearm'/> has parent <HAnimJoint DEF='hanim_r_elbow' center='-0.1949 1.1388 -0.0620'/> that does not match child <Transform DEF='r_forearm_adjust' translation='0 0.003466 -0.01065'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimSegment, warning]
<Transform DEF='r_forearm_adjust'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimSegment/Transform, warning]
<HAnimSegment DEF='hanim_r_hand' name='r_hand'/> has parent <HAnimJoint DEF='hanim_r_wrist' center='-0.1959 0.8694 -0.0521'/> that does not match child <Transform DEF='r_hand_adjust' translation='0 0 0'/>, resulting in mismatched local coordinate system[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment, warning]
<Transform DEF='r_hand_adjust'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/Transform, warning]
<HAnimSite DEF='hanim_r_hand_tip' name='r_hand_tip'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[1], warning]
<HAnimSite DEF='hanim_r_metacarpal_pha2' name='r_metacarpal_pha2'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[2], warning]
<HAnimSite DEF='hanim_r_metacarpal_pha2' name='r_metacarpal_pha2'/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[2], error]
<HAnimSite DEF='hanim_r_dactylion' name='r_dactylion'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[3], warning]
<HAnimSite DEF='hanim_r_dactylion' name='r_dactylion'/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[3], error]
<HAnimSite DEF='hanim_r_ulnar_styloid' name='r_ulnar_styloid'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[4], warning]
<HAnimSite DEF='hanim_r_ulnar_styloid' name='r_ulnar_styloid'/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[4], error]
<HAnimSite DEF='hanim_r_metacarpal_pha5' name='r_metacarpal_pha5'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[5], warning]
<HAnimSite DEF='hanim_r_metacarpal_pha5' name='r_metacarpal_pha5'/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[2]/HAnimJoint/HAnimJoint/HAnimSegment/HAnimSite[5], error]
<HAnimSegment DEF='hanim_c4' name='c4'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[3]/HAnimSegment, warning]
<HAnimSite DEF='hanim_skull_tip' name='skull_tip'/> element has no child node [/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimJoint[2]/HAnimJoint[3]/HAnimJoint/HAnimSegment/HAnimSite, warning]
<HAnimSite DEF='' name='DiamondManLOA_0_view'/> contains 4 Viewpoints, more than one may be ambiguous [/X3D/Scene/HAnimHumanoid/HAnimSite[1], info]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[2], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[3], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[4], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[5], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[6], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[7], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[8], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[9], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[10], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[11], error]
<HAnimSite DEF='' name=''/> has erronous name that instead must have suffix '_tip' or '_view' or '_pt' appended, depending on function [/X3D/Scene/HAnimHumanoid/HAnimSite[12], error]




> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimBehaviorPrototypes.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Illustrated.json
> 
> 0 Ajv 3.1 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Networking/NetworkSensorConnectionPrototypes.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallBounce.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallBounceSimple.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallJoint.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BodyGeometry.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BounceTrimesh.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/DoubleHingeJoint.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MotorJoint.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MovingBody.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/SingleHingeJoint.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/SliderJoint.json
> 
> 0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/UniversalJoint.json
> 
> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example15.json

no errors found

> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Robot.json

found 2 errors in scene, fixed incorrect url address and added viewpoint to trigger behavior.  attached.

This scene has nested prototypes, perhaps that is the problem with validation?

> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/Buildings/UHRB/SimpleBuildingConstructionExample.json
> 
> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/SeaWeb/BuoyCommunicationsGridExample.json
> 
> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/SeaWeb/SeaWebBuoyPrototype.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/SonobuoyFieldScenario.json
> 
> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/LimitedObjectiveExperimentPortHueneme.json
> 
> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/LimitedObjectiveExperimentPortHuenemeDIS.json
> 
> 0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/Tools/Animation/PushButtonPrototype.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1Illustrated.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1Invisible.json
> 
> 0 Ajv 3.1 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhSeamless3dExport1.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1Illustrated.json
> 
> 0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1Invisible.json
> 
> 0 Ajv 3.1 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhSeamless3dExport1.json
> 


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 http://faculty.nps.edu/brutzman


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180418/602ed5ca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: results.zip
Type: application/zip
Size: 12566 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180418/602ed5ca/attachment-0001.zip>


More information about the x3d-public mailing list