<div dir="ltr">I am not sure where to file this report since the JSON examples are not on sourceforge.<div><br></div><div>I could use some help getting a reasonable Java JSON validator working!</div><div><br></div><div>These JSON files declare TODO, warning or error:<div><br></div><div><br></div><div>$ grep "^ file:" results.txt |sort -u|grep -v Gltf|grep -v Xvl|grep -v development| sed 's/ file: //' | xargs egrep -l 'error|warning|TODO'<br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeB.json">www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeB.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeC.json">www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeC.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Basic/Geospatial/newGeospatialScene.json">www.web3d.org/x3d/content/examples/Basic/Geospatial/newGeospatialScene.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/AllAudioGraphNodesTest.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/AllAudioGraphNodesTest.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/ScannerMetadataExample4.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/ScannerMetadataExample4.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureDesignPattern.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureDesignPattern.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureTeapot.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureTeapot.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/XmpMetadataEmbedded.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/XmpMetadataEmbedded.json</a><br></div><div><br></div><div>====================================================================</div><div>These files are actually in error:</div><div><br></div><div>$ grep "^ file:" results.txt |sort -u|grep -v Gltf|grep -v Xvl|grep -v development| sed 's/ file: //'<br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeB.json">www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeB.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeC.json">www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeC.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Basic/Geospatial/newGeospatialScene.json">www.web3d.org/x3d/content/examples/Basic/Geospatial/newGeospatialScene.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/AllAudioGraphNodesTest.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/AllAudioGraphNodesTest.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/ScannerMetadataExample4.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/ScannerMetadataExample4.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureDesignPattern.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureDesignPattern.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureTeapot.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureTeapot.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/XmpMetadataEmbedded.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/XmpMetadataEmbedded.json</a><br></div><div>=================================================</div><div>This looks like the files which have errors which aren't declared:</div><div><br></div><div>$ diff allerrors.txt declared.txt |sed 's/< //'<br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json</a><br>C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json</a><br></div><div>=========================================================================</div><div><br></div><div>Please add TODO, warning and error meta flags to files if desired, thanks!</div><div><br></div><div>These conversions are slightly stale.  Use with care.</div><div><br></div><div>Actual error reports included below.  I have tried to highlight where I think the issue is.</div><div><br></div><div>$ diff allerrors.txt declared.txt |sed 's/< //'| grep C: |xargs node ../x3dvalidate/x3dvalidate.js<br>Can only validate version 4.0 presently. Switching version to 4.0.<br>Loading schema<br>Parsing schema<br>Adding schema<br>Schema 4.0 added<br>Schema 4.0 compiled<br>================================================================================<br>File: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br>Error reading C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br> keyword: required<br> instancePath: /X3D/Scene/-children/4/Group<br> message: must have required property @USE<br> params: {"missingProperty":"@USE"}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br> version: 3.0<br><br> keyword: required<br> instancePath: /X3D/Scene/-children/4/Group/-children/8/Script<br> message: must have required property @USE<br> params: {"missingProperty":"@USE"}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br> version: 3.0<br><br><b> keyword: format<br> instancePath: /X3D/Scene/-children/4/Group/-children/8/Script/@url/0<br> message: must match format "uri-reference"<br> params: {"format":"uri-reference"}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br> version: 3.0<br></b><br> keyword: oneOf<br> instancePath: /X3D/Scene/-children/4/Group/-children/8/Script<br> message: must match exactly one schema in "oneOf"<br> params: {"passingSchemas":null}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br> version: 3.0<br><br> keyword: oneOf<br> instancePath: /X3D/Scene/-children/4/Group<br> message: must match exactly one schema in "oneOf"<br> params: {"passingSchemas":null}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json">www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.json</a><br> version: 3.0<br><br>Can only validate version 4.0 presently. Switching version to 4.0.<br>================================================================================<br><b>File: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json</a><br>Error reading C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json</a><br> keyword: required<br> instancePath: /X3D<br> message: must have required property encoding<br> params: {"missingProperty":"encoding"}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json</a><br> version: 3.3<br></b><br>Can only validate version 4.0 presently. Switching version to 4.0.<br>================================================================================<br><b>File: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json</a><br>Error reading C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json</a><br> keyword: required<br> instancePath: /X3D<br> message: must have required property encoding<br> params: {"missingProperty":"encoding"}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json">www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json</a><br> version: 3.3<br></b><br>================================================================================<br>File: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json</a><br>Error reading C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json</a><br> keyword: required<br> instancePath: /X3D/Scene/-children/3/WorldInfo<br> message: must have required property @USE<br> params: {"missingProperty":"@USE"}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json</a><br> version: 4.0<br><br> <b>keyword: additionalProperties<br> instancePath: /X3D/Scene/-children/3/WorldInfo<br> message: must NOT have additional properties<br> params: {"additionalProperty":"-value"}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json</a><br> version: 4.0<br></b><br> keyword: oneOf<br> instancePath: /X3D/Scene/-children/3/WorldInfo<br> message: must match exactly one schema in "oneOf"<br> params: {"passingSchemas":null}<br> file: C:/x3d-code/<a href="http://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json">www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamplesX3D4.json</a><br> version: 4.0<br></div><div><br></div><div><br></div></div></div>