<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">[added X3D WG]<br>
<br>
The datatype is determined by the field (attribute name in
XML-speak). That is the only way to differentiate between SFString
and MFString in the following cases<br>
<br>
XML: attribute=' "value" '<br>
VRML: attribute "value"<br>
<br>
In this case 'attribute' could be of type SFString or MFString.
All are legal constructs. The first case defines either an
SFString or an MFString containing exactly one element. <br>
<br>
To specify a null array (an array with no elements) just brackets
are used<br>
<br>
XML: attribute=''<br>
VRML: attribute [ ]<br>
<br>
See
<a class="moz-txt-link-freetext" href="http://www.web3d.org/documents/specifications/19776-2/V3.3/Part02/EncodingOfFields.html#Description">http://www.web3d.org/documents/specifications/19776-2/V3.3/Part02/EncodingOfFields.html#Description</a>
for the spec text.<br>
<br>
Leonard Daly<br>
<br>
<br>
<br>
</div>
<blockquote type="cite"
cite="mid:A42F9712-EE15-49D1-8116-143B720D7485@gmail.com">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>
<a class="moz-txt-link-freetext" href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
</pre>
</blockquote>
<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>