python x3d_validator.py /home/yottzumm/x3dvalidate/examples/SmokeTestProgramOutput.x3dj|grep -v DEF| grep -A 4 ERROR|grep -v WARNING
[ERROR] FIELD_UNKNOWN at $.X3D.@xsd:noNamespaceSchemaLocation
Message: Unknown field '@xsd:noNamespaceSchemaLocation' on node 'X3D'.
Actual: @xsd:noNamespaceSchemaLocation
--
Is this a good name for a field?
[ERROR] CONTAINER_CHILD_MISMATCH at $.X3D.Scene.-children[5].MetadataString
Message: Invalid child 'MetadataString' inside container '-children' on parent 'Scene'.
Expected: Node inheriting from: X3DChildNode
Actual: MetadataString
Fix: Ensure child inherits from X3DChildNode. This is a rough one, because there is also -metadata
--
[ERROR] CONTAINER_CHILD_MISMATCH at $.X3D.Scene.-children[6].LayerSet
Message: Invalid child 'LayerSet' inside container '-children' on parent 'Scene'.
Expected: Node inheriting from: X3DChildNode
Actual: LayerSet
Fix: Ensure child inherits from X3DChildNode. This may not be necessary because LayerSet is an acceptableType. Error in validator.
--
[ERROR] ROUTE_TO_FIELD_NOT_FOUND at $.X3D.Scene.-children[12].ROUTE.@toField
Message: Field 'set_translation' does not exist on destination node 'LogoGeometryTransform' (Transform).
Actual: set_translation
Fix: Did you mean 'translation'?
** Validator should probably accept both.
**
--
[ERROR] ROUTE_FROM_FIELD_NOT_FOUND at $.X3D.Scene.-children[19].Group.-children[4].ROUTE.@fromField
Message: Field 'colorsOutput' does not exist on source node 'colorTypeConversionScript' (Script).
Actual: colorsOutput
[ERROR] ROUTE_TO_FIELD_NOT_FOUND at $.X3D.Scene.-children[19].Group.-children[5].ROUTE.@toField
Message: Field 'colorInput' does not exist on destination node 'colorTypeConversionScript' (Script).
Actual: colorInput
--
[ERROR] CONTAINER_CHILD_MISMATCH at $.X3D.Scene.-children[31].Group.-children[0].Shape.-value[0].MetadataString
Message: Invalid child 'MetadataString' inside container '-value' on parent 'Shape'.
Expected: Node inheriting from:
Actual: MetadataString
Fix: Ensure child inherits from acceptable types.
yottzumm@yottzumm-MacBookAir:~/JSONSchemaGenerator$
Should be -metadata
Oops, here