[x3d-public] renewed development of X3D JSON support
John Carlson
yottzumm at gmail.com
Tue Oct 12 01:24:15 PDT 2021
So it looks like the JSON I validated was from April 2018. I suggest
rerunning the zip creation to recreate
https://www.web3d.org/x3d/content/examples/X3dExampleArchivesJsonScenes.zip
once I verify X3dToJson.xslt is up to date, and I can run the conversion
and test again.
Sorry for posting out of date stuff.
John
On 10/12/21 3:16 AM, John Carlson wrote:
> Here are the results for JSON parsing (not X3D validation, per se).
>
> $ bash validate.sh 2>&1 |grep "Failed JSON"|wc
> 80 974 14382
>
> 80 failed files. Here they are. Many we know and love! Downloading a
> new JSON zip, and will check for date.
>
> $ bash validate.sh 2>&1 |grep "Failed JSON"
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Viewpoint/viewinline.json
> SyntaxError: Unexpected token , in JSON at position 15644
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Viewpoint/jumpcut_proximitysensor.json
> SyntaxError: Unexpected token , in JSON at position 6705
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/X3dRetreatProtoExercise.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/TestRegularExpressionChecks.json
> SyntaxError: Unexpected token . in JSON at position 3048
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/QuadTreeExamples.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/TestContainerFieldValues.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/TestDiagnosticOverloadedChildNodes.json
> SyntaxError: Unexpected token { in JSON at position 2360
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/UnquotedTokensNavigationInfoAndFontStyle.json
> SyntaxError: Unexpected token I in JSON at position 2948
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/MetadataPrototypes.json
> SyntaxError: Unexpected token , in JSON at position 10413
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/ProtoTagDtdDeclarationExamples.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/TestSchematronDiagnostics.json
> SyntaxError: Unexpected token a in JSON at position 22016
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeB.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeC.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter04Young.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/NancyNativeTags.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter01Jin.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/NancyDiving.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter03Hyun.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter12Sun.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/BoxManAnimationPanel.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter06Ga.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter10Mi.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/DiamondManLOA_1.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/DiamondManLOA_0.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter08Da.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Illustrated.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/NancyStandShootRifleM24.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter05Ju.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter02Chul.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter11Min.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Invisible.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter09Ru.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/KoreanCharacter07No.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/InterchangableActorsViaDynamicRoutingPrototypes.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/DiamondManLOA_2.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Motion.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/BoxMan.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/AllenDuttonBlurryMotion.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BodyGeometry.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallBounce.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/UniversalJoint.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/DoubleHingeJoint.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/SliderJoint.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/CarDemoMain.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallJoint.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MotorJoint.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallBounceSimple.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BounceTrimesh.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MovingBody.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/SingleHingeJoint.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellModelOctopus.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellModelStar.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellModelDolphin.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeTexture.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeEdgeRound.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellModelHand.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeEdgeVector.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellModelBaby.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeNumberOfDivisions.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeVertexRound.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeFaceFlags.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeShellType.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Basic/LatticeXvl/XvlShellAttributeAll.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/HudKelpForest.json
> SyntaxError: Unexpected token , in JSON at position 12368
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureDesignPattern.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Savage/GroundVehicles/Jeep/Jeep.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TextFont.json
> SyntaxError: Unexpected token , in JSON at position 3918
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/SubWorld.json
> TypeError: Cannot read properties of undefined (reading 'replace')
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Loader.json
> SyntaxError: Unexpected token , in JSON at position 8231
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut.json
> SyntaxError: Unexpected token , in JSON at position 12319
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Query.json
> SyntaxError: Unexpected token , in JSON at position 4342
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TextSize.json
> SyntaxError: Unexpected token , in JSON at position 3958
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Button.json
> SyntaxError: Unexpected token , in JSON at position 3487
> Failed JSON parse
> /c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json
> TypeError: Cannot read properties of undefined (reading 'replace')
>
More information about the x3d-public
mailing list