[x3d-public] Minimal set of JSON schema errors to investigate

Don Brutzman brutzman at nps.edu
Thu Apr 5 07:51:21 PDT 2018


Quick response on CADPartChildTransformationAlternativeB and CADPartChildTransformationAlternativeC: they were design experiments and will not validate.

Note presence of document metadata:

	<meta name='error' content='The alternative structure in this scene fails validation.'/>

If you want a consistent format for such warnings, can provide. Nevertheless any scene with <meta name='error' content='whatever'/> is likely problematic.

Geo nodes are trickier, will require further scrutiny on my part.  Thanks for identifying them!

On 3/30/2018 2:34 AM, John Carlson wrote:
> Here’s the minimal set of JSON schema errors to investigate. Note that this doesn’t include H-Anim.  I am mostly concerned about Squaw.json and the Metadata @name.
> 
> John
> 
> json-schema 3.1 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/2/CADAssembly/-children/0/CADPart/-children/3/CADFace: 2 schema violations found C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeB.json
> 
> json-schema 3.1 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/2/CADAssembly/-children/0/CADPart/-children/4/CADFace: 2 schema violations found C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeB.json
> 
> json-schema 3.1 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/2/CADAssembly/-children/0/CADPart/-children/3: extraneous key [Transform] is not permitted C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeC.json
> 
> json-schema 3.1 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/2/CADAssembly/-children/0/CADPart/-children/4: extraneous key [Transform] is not permitted C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeC.json
> 
> json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/4/GeoViewpoint: 36 schema violations found C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Geospatial/Squaw.json
> 
> json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/5/Group/-children/0/Group/-children/0/Group/-children: 540 schema violations found C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Geospatial/Squaw.json
> 
> json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/2/WorldInfo/-metadata/MetadataSet/-metadata/MetadataSet/-value/0/MetadataString: required key [@name] not found C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamples.json
> 
> json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/2/WorldInfo/-metadata/MetadataSet/-metadata/MetadataSet/-value/1/MetadataInteger: required key [@name] not found C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamples.json
> 
> json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/2/WorldInfo/-metadata/MetadataSet/-metadata/MetadataSet/-value/2/MetadataFloat: required key [@name] not found C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/MetadataNodeExamples.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




More information about the x3d-public mailing list