[x3d-public] question on MFStrings in XML.
John Carlson
yottzumm at gmail.com
Sat May 20 08:30:11 PDT 2017
Yes, the missing space is there too. Search for "" in
https://savage.nps.edu/Savage/AircraftFixedWing/F16-FightingFalcon-Turkey/F16.x3d
Thanks!
John
Sent from Mail for Windows 10
From: Don Brutzman
Sent: Saturday, May 20, 2017 4:26 AM
To: John Carlson
Cc: X3D Graphics public mailing list
Subject: Re: question on MFStrings in XML.
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
https://savage.nps.edu/Savage/AircraftFixedWing/F16-FightingFalcon-Turkey/F16.html
<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:
https://savage.nps.edu/Savage/AircraftFixedWing/F16-FightingFalcon-Turkey/F16.x3d
> *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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170520/d1d3fd2b/attachment.html>
More information about the x3d-public
mailing list