[x3d-public] X3dToJson.xslt. Overzealous replacement of text with \\ Useattached file in your test.
yottzumm at gmail.com
yottzumm at gmail.com
Sat May 6 13:54:47 PDT 2017
Also in scripts, it looks like.
John
Sent from Mail for Windows 10
From: yottzumm at gmail.com
Sent: Saturday, May 6, 2017 4:04 PM
To: Don Brutzman; X3D Graphics public mailing list
Subject: X3dToJson.xslt. Overzealous replacement of text with \\ Useattached file in your test.
See this diff between original and new JSON. With the comment, even the original X3dToJson.xslt was overzealous.
"-geometry":
{ "Text":
{
- "@string":["He said, \\\"Immel did it!\\\""]
+ "@string":[\\]
}
},
"-children":[
{
- "#comment":"alternative: Text string='\"\\\"\\\"\"'"
+ "#comment":"\\\\"
Original: XML:
$ more X3dHeaderPrototypeSyntaxExamples.x3d|egrep alternative"|Immel"
<Text string='"He said, \"Immel did it!\""'/>
<!-- alternative: Text string='"He said, \"Immel did it!\""' -->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170506/19fcfdbe/attachment.html>
More information about the x3d-public
mailing list