[x3d-public] Agenda for X3D WG Open Meeting Wednesday 10th May 2017
Joe D Williams
joedwil at earthlink.net
Fri May 19 12:49:05 PDT 2017
Finally, along with other of Don's spec quotes and even usage examples
by others actually shows that xml and x3d standards for this usage is
equivalent and so we don't need to do anything except be a little
loose on input but strongly advise to exactly follow xml MF rules.
All we want "extra" is that ability to default an MF to an SF without
error if there is only one quoted text field in the string. Yes, we
know it is an MF, but we only need an SF here so please don't be so
strict here. This is OK by me as long as this could not be a potential
attack vector if SF somehow treated same as MF.
So really no problem. If we test most 'old' vrml and x3d browsers they
will accept Don's rule of
> EXAMPLE
>
> <Text string='"Hello world"'/>
>
> is equivalent to
>
> <Text string='Hello world'/>
> or
> <Text string="Hello world"/>
>
because most or at least some old big ones thought it was polite to do
so in the vrml and so would allow either ["Hello world]"] or [Hello
world] without complaint. However, I remember that if you wished to
update the text from an empty string, then it was usually best to
create the node with [""] to establish the empty string(s) to be
updated later.
DId we also note that maybe in html this could work:
<text string= Hello world >
Thanks and Best,
Joe
----- Original Message -----
From: "Don Brutzman" <brutzman at nps.edu>
To: "Michalis Kamburelis" <michalis.kambi at gmail.com>
Cc: "X3D Graphics public mailing list" <x3d-public at web3d.org>
Sent: Wednesday, May 10, 2017 9:21 AM
Subject: Re: [x3d-public] Agenda for X3D WG Open Meeting Wednesday
10th May 2017
> On 5/10/2017 9:16 AM, Don Brutzman wrote:
>>
>> EXAMPLE
>>
>> <Text string='Hello world'/>
>>
>> is equivalent to
>>
>> <Text string='"Hello world"'/>
>
> or, flipped around,
>
> EXAMPLE
>
> <Text string='"Hello world"'/>
>
> is equivalent to
>
> <Text string='Hello world'/>
> or
> <Text string="Hello world"/>
>
> Of note: parser recognition that the Text node's string attribute
> has type MFString comes from the specification, not from inspection
> of these constructs.
>
> 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