[x3d-public] question on MFStrings in XML.
Joe D Williams
joedwil at earthlink.net
Sat May 20 11:30:11 PDT 2017
did I make a mistake?
string='"a""b"'
string='"a" "b"'
string='"a","b"'
all are good as input
plus
string='"a" . "b"'
string='"a" "b"'
and I can't list the big number of other combos of space(s) and
aand/or a single comma now, but also as input, any of those above
should be good.
The preferred form is of course:
string='"a","b"'
like all other MFs.
Thanks,
Joe
----- Original Message -----
From: "John Carlson" <yottzumm at gmail.com>
To: "Don Brutzman" <brutzman at nps.edu>
Cc: "X3D Graphics public mailing list" <x3d-public at web3d.org>
Sent: Saturday, May 20, 2017 8:30 AM
Subject: Re: [x3d-public] question on MFStrings in XML.
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
--------------------------------------------------------------------------------
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
More information about the x3d-public
mailing list