[x3d-public] X3dToJson.xlst. Bad URL in MFString.

John Carlson yottzumm at gmail.com
Thu May 24 20:49:53 PDT 2018


What would be some tough XML examples from X3D resources to test DOM2JSONSerializer.js with?

Thanks,

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Thursday, May 24, 2018 11:43 PM
To: Don Brutzman; X3D Graphics public mailing list
Subject: RE: X3dToJson.xlst. Bad URL in MFString.

Here is proper conversion of the MFString (not guaranteeing anything else) by DOM2JSONSerializer.js:

Attached.  Gzipped.

John
Sent from Mail for Windows 10

From: John Carlson
Sent: Thursday, May 24, 2018 11:32 PM
To: Don Brutzman; X3D Graphics public mailing list
Subject: RE: X3dToJson.xlst. Bad URL in MFString.

Here’s the @url in question.  Looks like the translator got confused by the commas?

Pipeline.json:              "@url":[", ","https://cdn.rawgit.com/create3000/Library/1.0.4/Prototypes/Geometry3D/Torus.x3d, ","http://cdn.rawgit.com/create3000/Library/1.0.4/Prototypes/Geometry3D/Torus.x3d, ","https://rawgit.com/create3000/Library/1.0.4/Prototypes/Geometry3D/Torus.x3dhttp://rawgit.com/create3000/Library/1.0.4/Prototypes/Geometry3D/Torus.x3d"],

Sent from Mail for Windows 10

From: John Carlson
Sent: Thursday, May 24, 2018 11:26 PM
To: Don Brutzman; X3D Graphics public mailing list
Subject: X3dToJson.xlst. Bad URL in MFString.

See attached JSON and original X3D. I have not verified if the JSON was generated from X3D, but I suspect so. Please reconvert to JSON and check.

Hopefully, this email won’t go over the limit.

This comes from Holger’s Component Tests.

John




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180524/00b3b923/attachment.html>


More information about the x3d-public mailing list