[x3d-public] Agenda for X3D WG Open Meeting Wednesday 10th May 2017

Richard F. Puk puk at igraphics.com
Thu May 11 12:24:16 PDT 2017


Hi, Roy --

I think that [""] represents an MFString construct containing one element,
an empty string. Then [] is an MFString construct that contains no elements.
I think that this is what was originally intended.

  -- Dick

/******************************************
| Richard F. Puk, Ph.D., President
| Intelligraphics Incorporated
| 7644 Cortina Court
| Carlsbad, CA  92009-8206
| Tel: +1-760-753-9027  Mobile:  +1-760-809-9027
| Email:  puk at igraphics.com
\****************************************** 



-----Original Message-----
From: x3d-public [mailto:x3d-public-bounces at web3d.org] On Behalf Of Roy
Walmsley
Sent: Wednesday, May 10, 2017 3:58 PM
To: 'Yves Piguet'; 'Don Brutzman'
Cc: 'X3D Graphics public mailing list'
Subject: Re: [x3d-public] Agenda for X3D WG Open Meeting Wednesday 10th May
2017

Hi Yves,

An empty MFString array would have no values. Now that is an interesting one
we didn't discuss today!!!

According to the current standard it would be simply [''], i.e. two single
quotes or apostrophes. However, if we accept the changes discussed today,
one of which was that an MFString field with only one value could dispense
with the outer set of quotes and be encoded as an SFString, then that could
present a dilemma. It would mean that it could be interpreted as a single
value, which was the empty string, or an empty MFString array. These are not
the same things, and so this case would require specific wording in the
text, for clarity.

Thanks again, Yves,

Roy

-----Original Message-----
From: x3d-public [mailto:x3d-public-bounces at web3d.org] On Behalf Of Yves
Piguet
Sent: 10 May 2017 21:40
To: Don Brutzman <brutzman at nps.edu>
Cc: X3D Graphics public mailing list <x3d-public at web3d.org>
Subject: Re: [x3d-public] Agenda for X3D WG Open Meeting Wednesday 10th May
2017

Excuse me if I've missed it, but how do you specify an empty MFString array?
If double quotes are optional, '' (empty attribute value) would mean an
empty SFString, i.e. [""] if an MFString is expected, not [].

Yves


_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org


_______________________________________________
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