[x3d-public] [Junk] Re: wrap up, JSON conversions, validation against JSON parser

Don Brutzman brutzman at nps.edu
Mon Jan 18 01:57:36 PST 2016


cc: x3d-public

Thank you John.  Looks like we are getting pretty close!   8)

On first inspection, these all appear to match those that fail validation in the first place when created, due to
- invalid X3D (test scene)
- international characters
- difficult HTML/XML escape characters
- too large for my XSLT engine to handle
- XML encryption/signature

If you ever want to confirm, the full list of X3D -> JSON output results (including success/failure) can be found at

http://www.web3d.org/x3d/content/examples/X3dResources.html#Examples
> Special testing distribution.
>A comprehensive collection of all JSON example scenes is available at X3dExampleArchivesJsonScenes.zip (MD5 checksum) plus current output from the X3D JSON build process at build.json.out.
http://www.web3d.org/x3d/content/examples/build.json.out

I will look at these particular files again later in the week to see if any further remedies are possible.  Possibly some of the escaped characters can be handled better, but most will stay non-validating.


On 1/17/2016 12:27 PM, John Carlson wrote:
> errors.txt attached
>
>> On Jan 17, 2016, at 3:25 PM, John Carlson <yottzumm at gmail.com <mailto:yottzumm at gmail.com>> wrote:
>>
>> These JSON files failed to parse.  Next message will have errors.
>>
>> John
>>
>> examples//Basic/development/CameraPrototypes.json failed [SyntaxError: Unexpected token ']
>> examples//Basic/development/QuadTreeExamples.json failed [SyntaxError: Unexpected token :]
>> examples//Basic/development/SchemaTest.json failed [SyntaxError: Unexpected token e]
>> examples//Basic/development/ScriptSyntaxExample.json failed [SyntaxError: Unexpected token &]
>> examples//Basic/development/SpinGroupInternalSubsetDeclaration.json failed [SyntaxError: Unexpected token :]
>> examples//Basic/development/TestDoctype.json failed [SyntaxError: Unexpected token :]
>> examples//Basic/development/TestRegularExpressionChecks.json failed [SyntaxError: Unexpected token .]
>> examples//Basic/development/TextExamples.json failed [SyntaxError: Unexpected token \]
>> examples//Basic/development/TestSchematronDiagnostics.json failed [SyntaxError: Unexpected token x]
>> examples//Basic/development/UnquotedTokensNavigationInfoAndFontStyle.json failed [SyntaxError: Unexpected token (]
>> examples//Basic/ExperimentalBinaryCompression/Lion.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/ExperimentalBinaryCompression/LionCoded.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Geospatial/MarsLOD002.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Geospatial/MarsLOD005.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Geospatial/MarsLOD008.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Geospatial/MarsLOD011.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Geospatial/MarsLOD017.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Geospatial/MarsLOD020.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Geospatial/MarsLOD023.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Medical/BodySkinIndexedFaceSetNIST.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Medical/BonesAllSkeleton.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Medical/BonesHead.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Medical/BonesMandible.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Medical/SkeletonCompleteNoNormals.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Medical/SkeletonCompleteNormals.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Security/HelloWorldSigned.json failed [SyntaxError: Unexpected token :]
>> examples//Basic/Shaders/Flutter.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/Security/HelloWorldSignedDecrypted.json failed [SyntaxError: Unexpected token :]
>> examples//Basic/StudentProjects/AllenDutton.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/StudentProjects/LaetitiaSprints.json failed [SyntaxError: Unexpected end of input]
>> examples//Basic/X3dSpecifications/X3dHeaderPrototypeSyntaxExamples.json failed [SyntaxError: Unexpected token &]
>> examples//ConformanceNist/Appearance/PixelTexture/256PixelTexture.json failed [SyntaxError: Unexpected end of input]
>> examples//ConformanceNist/BindableNodes/Viewpoint/jump_false.json failed [SyntaxError: Unexpected token }]
>> examples//ConformanceNist/BindableNodes/Viewpoint/jump_true.json failed [SyntaxError: Unexpected token }]
>> examples//ConformanceNist/BindableNodes/Viewpoint/noviewpoint.json failed [SyntaxError: Unexpected token }]
>> examples//ConformanceNist/GeometricProperties/Coordinate/15000points_lineset.json failed [SyntaxError: Unexpected end of input]
>> examples//ConformanceNist/Geometry/IndexedLineSet/15000-polylines-defcolor.json failed [SyntaxError: Unexpected end of input]
>> examples//ConformanceNist/Geometry/IndexedLineSet/15000-Vertices.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/AircraftFixedWing/B52H-StrategicBomber-UnitedStates/B52HStatic.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/AircraftHelicopters/JhlHeavyLift-NPS/JointHeavyLiftHelicopter.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Locations/CampPendletonCalifornia/CampPendletonOperatingAreasExample.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Locations/FortLauderdaleFlorida/FortLauderdaleDepths10m.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Locations/FortLauderdaleFlorida/FortLauderdaleDepths20m.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Locations/MontereyBayCalifornia/MontereyBayLargeMesh.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Robots/UnmannedUnderwaterVehicles/Bluefin21BPAUV.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Scenarios/RemusMission10MAR2003/RemusMissionLineTrackPlayback.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Scenarios/UssColeTerroristAttack/AdenHarbor.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Scenarios/UssColeTerroristAttack/AdenHarborSmallScale.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/ShipsCivilian/PersonalWaterCraft/JetskiWithRider.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/ShipsCivilian/ResearchVessels/Endeavor.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Tools/Authoring/GridsExamplePixelTexture.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Tools/Authoring/PixelTextureNavyJackDontTreadOnMe.json failed [SyntaxError: Unexpected end of input]
>> examples//Savage/Tools/Visualization/PajekVisualizationExamples.json failed [SyntaxError: Unexpected number]
>> examples//Savage/Tools/Visualization/PajekVisualizationPrototypes.json failed [SyntaxError: Unexpected number]
>> examples//Savage/Tools/Visualization/15JAN2010NewmanOutput.json failed [SyntaxError: Unexpected number]
>> examples//X3dForAdvancedModeling/GeometricShapes/IcosahedronSubdivisionLevel5.json failed [SyntaxError: Unexpected end of input]
>> examples//X3dForAdvancedModeling/Matlab/PhasedArrayBeamExample.json failed [SyntaxError: Unexpected end of input]
>> examples//X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharacters.json failed [SyntaxError: Unexpected string]
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