[x3d-public] Patches to X3dToJson.xslt

John Carlson yottzumm at gmail.com
Tue May 16 05:13:21 PDT 2017


I believe the patches are good.  I am working on X3DJSAIL patches now.

Good luck!

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Tuesday, May 16, 2017 5:21 AM
To: Don Brutzman; X3D Graphics public mailing list
Subject: RE: Patches to X3dToJson.xslt

Spoke too soon.  I see bugs.  Wait patiently please.

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Tuesday, May 16, 2017 5:19 AM
To: Don Brutzman; X3D Graphics public mailing list
Subject: Patches to X3dToJson.xslt

Here are some patches for X3dToJson.xslt.

They involve:
1. Keeping track of whether you’ve seen outer start and end quotes
2. Processing “” differently than “”” (actually \”\”\”)
3. Quoting “” when it appears as \”\” (without spaces around it
4. Handling \n and keeping it the same in JSON.


There are corresponding patches in X3DJSAIL which I will post next.

John



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170516/1e35c2df/attachment.html>


More information about the x3d-public mailing list