[x3d-public] Patches to X3dToJson.xslt

John Carlson yottzumm at gmail.com
Tue May 16 02:19:42 PDT 2017


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/e331cbe3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: X3dToJson.xslt
Type: application/octet-stream
Size: 240010 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170516/e331cbe3/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: X3dToJson.xslt.patch
Type: application/octet-stream
Size: 11591 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170516/e331cbe3/attachment-0003.obj>


More information about the x3d-public mailing list