<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Oh man, twice in one day... :-(<br>
<br>
<br>
</div>
<blockquote
cite="mid:88980EBE-AD81-41EF-8DC1-DBAFAFAE1F7B@gmail.com"
type="cite">
<blockquote type="cite">
<pre wrap="">On 15 Mar 2017, at 21:49, Leonard Daly <a class="moz-txt-link-rfc2396E" href="mailto:Leonard.Daly@realism.com"><Leonard.Daly@realism.com></a> wrote:
[...]
</pre>
</blockquote>
<pre wrap="">
I agree.
</pre>
<blockquote type="cite">
<pre wrap="">Note that the XML element produces an MFString with 1 element
<Text string="'string 1' 'string 2'"/>
In this case the single element would be - 'string 1' 'string 2'
</pre>
</blockquote>
<pre wrap="">
But this is invalid per 19776-1 v3.3; see <a class="moz-txt-link-freetext" href="http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/EncodingOfFields.html#SFString">http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/EncodingOfFields.html#SFString</a></pre>
</blockquote>
<br>
You are correct. There was a lot of discussion about the syntax on
this 12+ years ago. It goes back to my first statement about all
string elements (whether SFString or MFString) must be quoted.<br>
<br>
<br>
<blockquote
cite="mid:88980EBE-AD81-41EF-8DC1-DBAFAFAE1F7B@gmail.com"
type="cite">
<pre wrap="">
There is a specific note which states that an unquoted attribute _value_ (without the quotes which belong to XML) is an invalid MFString. I.e. you may not replace a single-element MFString with an SFString.</pre>
</blockquote>
<br>
This may be fine for strings, but insisting that URLs (also
MFString) also be double-quoted when dealing with X3D embedded in
HTML is really awkward (trying to find something besides
ridiculous). The node<br>
<br>
<blockquote><Inline url="subscene.x3d"></Inline><br>
</blockquote>
<br>
would not be valid; however the "correct" syntax of <br>
<br>
<blockquote><Inline url='"subscene.x3d"'></Inline><br>
</blockquote>
would cause most people to pause and puzzle over the strange
notation.<br>
<br>
<br>
Leonard Daly<br>
<br>
<br>
<blockquote
cite="mid:88980EBE-AD81-41EF-8DC1-DBAFAFAE1F7B@gmail.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">NOTE The construct
"string3"
is not a valid instance of an MFString. Such an MFString would be properly specified as
'"string3"'
</pre>
</blockquote>
<pre wrap="">
I think that shouldn't change in v4.
Yves
</pre>
</blockquote>
<br>
<p><br>
</p>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
3D Systems & Cloud Consultant<br>
LA ACM SIGGRAPH Chair<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>