[x3d-public] question on MFStrings in XML.

Don Brutzman brutzman at nps.edu
Sat May 20 01:25:41 PDT 2017

On 5/19/2017 11:43 AM, John Carlson wrote:
> I don’t see a space between the second and third SFStrings in the MFString here:
> https://savage.nps.edu/Savage/AircraftFixedWing/F16-FightingFalcon-Turkey/F16Index.html

more precisely


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

This is a bug in X3dToXhtml.xslt stylesheet.  (I think Roy reported this as well).  There are also special-character issues which Andreas reported which need to be addressed.

Will investigate.

> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> *From: *John Carlson <mailto:yottzumm at gmail.com>
> *Sent: *Friday, May 19, 2017 2:40 PM
> *To: *Don Brutzman <mailto:brutzman at nps.edu>
> *Cc: *X3D Graphics public mailing list <mailto:x3d-public at web3d.org>
> *Subject: *RE: question on MFStrings in XML.
> Hmm.  Should I download a new zip?

Please use the source instead of the pretty-print annotated version.  Online:


> *From: *Don Brutzman <mailto:brutzman at nps.edu>
> *Sent: *Friday, May 19, 2017 1:09 PM
> *To: *John Carlson <mailto:yottzumm at gmail.com>
> *Cc: *X3D Graphics public mailing list <mailto:x3d-public at web3d.org>
> *Subject: *Re: question on MFStrings in XML.
> On 5/19/2017 9:06 AM, John Carlson wrote:
>  > I’m not worried about the extra spaces, I’m worried about the missing space between the 2^nd and 3^rd strings, and how we are going to handle it in X3dToJson.xslt, compared to ‘“FIRE” “” “FIRE”’
> there is a space character (between second and third SFString values) in the source and my reply... perhaps earlier mail got squished? or am i missing something?
> agreed that whitespace is necessary between SFString values in an MFString array
all the best, Don
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

More information about the x3d-public mailing list