[x3d-public] question on MFStrings in XML.

John Carlson yottzumm at gmail.com
Fri May 19 02:59:21 PDT 2017

Should these two examples be encoded differently in JSON?  That is my question!  Is the first an illegal expression?


Sent from Mail for Windows 10

From: John Carlson
Sent: Friday, May 19, 2017 2:37 AM
To: X3D Graphics public mailing list; Don Brutzman; Roy Walmsley
Subject: question on MFStrings in XML.

-                        <Text string='"Target Locked" " FIRE!..""(Green Button)"'/>
+                        <Text string='"Target Locked" " FIRE!..\"\"(Green Button)"'/>

Are these equivalent or not?  Thanks!

The first is from the Savage examples.

Here’s how I’m encoding it in JSON:

                             "@string":["Target Locked"," FIRE!..\"\"(Green Button)"]

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

More information about the x3d-public mailing list