<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Andreas,<br>
      <br>
    </div>
    <blockquote
cite="mid:CAKdk67vREe=iNwqfSxChyTkdN6=SSun_OU7XPN0g9eZct6HOKA@mail.gmail.com"
      type="cite">
      <div dir="auto"><a moz-do-not-send="true"
href="http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/EncodingOfFields.html#SFString"
          target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19776-1/V3.3/Part01/<wbr>EncodingOfFields.html#SFString</a>
        <div dir="auto">clearly states:</div>
        <div dir="auto">The MFString specifies zero or more SFStrings
          enclosed in single quotes (e.g., '"string1" "string2"').<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">...</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">This makes it hard to conform exactly to the X3D
          XML encoding standard. I am not sure why X3D imposes this use
          of quotes.  XML allows for both single and double quotes as
          outer quotes, and the quotes used in the value could still be
          specified as double quotes. They just need to be escaped as
          entity if double quotes are used as outer quotes.</div>
      </div>
    </blockquote>
    <br>
    <br>
    This was done to be like VRML where each item had to be
    double-quoted. There was lots of discussion at the time, especially
    if an MFString contained exactly one value. (is "value" and 'value'
    allowed or does it need to be '"value"'?).<br>
    <br>
    After many years of seeing the confusion this is generating, I would
    like to see a child form used. For example:<br>
    <br>
    <tt><Inline></tt><tt><br>
    </tt><tt>  <url='test.x3d'/></tt><tt><br>
    </tt><tt>
        <url='test.x3dv'/></tt><tt><br>
    </tt><tt>
        <url='test.vrml'/></tt><tt><br>
    </tt><tt></Inline></tt><tt><br>
    </tt><br>
    or <br>
    <br>
    <tt><Inline></tt><tt><br>
    </tt><tt>  <url>test.x3d</url</tt><tt>><br>
    </tt><tt>
        <url</tt><tt><tt>></tt>test.x3dv</tt><tt></url</tt><tt>></tt><tt><br>
    </tt><tt>
        <url</tt><tt><tt>></tt>test.vrml</tt><tt></url</tt><tt>></tt><tt><br>
    </tt><tt></Inline></tt><tt><br>
    </tt><br>
    <br>
    instead of<br>
    <br>
    <tt><Inline </tt><tt>url='"test.x3d" </tt><tt><tt>"test.x3dv" </tt></tt><tt><tt><tt>"test.vrml"</tt></tt></tt><tt>'></tt><tt></Inline></tt><tt><br>
    </tt><br>
    <br>
    If the child notation is not acceptable, then at least drop the
    doubling-up of the quotations when there is only a single value. I
    think the biggest advantage of the second option is that the element
    values can be put into a CDATA block. Really useful if the string
    (url or otherwise) contains special or non-Latin characters. URLs
    are not required to use Latin characters and expressing them as HTML
    entities can be a real mess.<br>
    <br>
    Leonard Daly<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote
cite="mid:CAKdk67vREe=iNwqfSxChyTkdN6=SSun_OU7XPN0g9eZct6HOKA@mail.gmail.com"
      type="cite">
      <div dir="auto">
        <div dir="auto"><br>
        </div>
        <div dir="auto"> x3d browsers may behave like this anyways if
          they use a reasonable XML parser.<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">So I would like to raise if it would be possible
          to relax the XML encoding a bit to allow use of standard XML
          serializer ?</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Andreas</div>
        <div dir="auto"><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
    <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>