[x3d-public] Updates to 4.0 X3DUOM and schema for HAnim (ok!). Other schemas, not OK! RigidBodyPhysics X3dToJson.xslt
John Carlson
yottzumm at gmail.com
Tue May 1 07:38:28 PDT 2018
These 4.0 files got converted, and did pass schema (yay). Please create a new X3D resources examples JSON zip. Thanks!
C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
Only other tasks left in this email chain are checking out the JSON schema errors for the V3.0, V3.1, V3.2 and V3.3 schema, from the previous message. We may need to do something like what we did for the 4.0 schema (getting rid of the enum, or allowing more values than the enum, more likely, which gets rid of the enum in the schema). Or fix the data files (preferred, I think).
Also is still appears that -geometry still needs to be an array in RigidBodyPhysics JSON files, although I haven’t checked closely or at all. This would be an issue with X3dToJson.xslt.
John
Sent from Mail for Windows 10
From: John Carlson
Sent: Tuesday, May 1, 2018 10:26 AM
To: Don Brutzman; x3d-public at web3d.org
Subject: RE: Updates to 4.0 X3DUOM and schema for HAnim (possibly ok?). Ajvstill fails these.
There was not a new version of the JSON zip on the web3.org website, so I regenerated the JSON on my own, using Saxon (there were may apparent bugs in this, but I ignored them. Here are the files that still don’t pass JSON schema, and the Ajv results (attached).
I do not know if the 4.0 files got wiped out or not, but I will check.
John
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/X3dRetreatProtoExercise.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/AllenDutton.json
0 Ajv 3.3 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
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Illustrated.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Invisible.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Motion.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/InterchangableActorsViaDynamicRoutingPrototypes.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/JoeSkinTexcoordDisplacerKick.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/NancyNativeTags.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.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
Sent from Mail for Windows 10
From: John Carlson
Sent: Tuesday, May 1, 2018 9:55 AM
To: Don Brutzman; x3d-public at web3d.org
Subject: Updates to 4.0 X3DUOM and schema for HAnim. Ajv still fails these.
Her are the Schema errors for the non-recent JSON V4.0 files from X3D Resources examples for the HAnim changes to the 4.0 X3DUOM.
The 4.0 JSON schema should be checked in. Most of these errors appear to be specified @name, I guess. Not really sure though, since I haven’t looked at the examples.
Let me know if they JSON files have been updated, and I will probably download a new copy anyway.
Good luck!
John
0 Ajv 4.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Left_Foot","@DEF":"Humanoid_Left_Foot","@info":"|omitted|","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint > -children > 0
value: {"HAnimJoint":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"HAnimJoint"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0
keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0
keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Left_Foot","@DEF":"Humanoid_Left_Foot","@info":"|omitted|","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0
0 Ajv 4.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Right_Foot","@DEF":"Humanoid_Right_Foot","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint > -children > 0
value: {"HAnimJoint":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"HAnimJoint"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0
keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0
keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Right_Foot","@DEF":"Humanoid_Right_Foot","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0
0 Ajv 4.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Left_hand","@DEF":"Humanoid_Left_hand","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint > -children > 0
value: {"HAnimJoint":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"HAnimJoint"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0
keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0
keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Left_hand","@DEF":"Humanoid_Left_hand","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0
0 Ajv 4.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Right_hand","@DEF":"Humanoid_Right_hand","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
version: 4.0
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
version: 4.0
keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint > -children > 0
value: {"HAnimJoint":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"HAnimJoint"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
version: 4.0
keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
version: 4.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180501/fd388d4e/attachment-0001.html>
More information about the x3d-public
mailing list