<div dir="ltr"><br><div class="gmail_extra">On Wed, Apr 26, 2017 at 3:55 PM,  <span dir="ltr"><<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_5693052189562980907WordSection1"><p class="MsoNormal">It’s</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="http://x3dgraphics.com/slidesets/X3dForWebAuthors/Chapter02GeometryPrimitives.pdf" target="_blank">http://x3dgraphics.com/<wbr>slidesets/X3dForWebAuthors/<wbr>Chapter02GeometryPrimitives.<wbr>pdf</a></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Got caught in the grand renaming.  Also the parent page is wrong.</p><p class="MsoNormal"><u></u></p></div></div></blockquote><div><br><br></div><div>Thanks.<br></div><div>Page 28 in the pdf shows the <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersIndex.html">http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersIndex.html</a> example and confirms that cobweb and x3dom render as intended. However, TextSpecialCharactersIndex.html needs to be adjusted so it displays &amp;amp instead of &amp; , for example. So probably <br><pre id="gmail-line1"><span>ampersand <span class="entity"><span>&</span>amp;</span> is <span class="entity"><span>&</span>amp;</span>amp;<br><br> in the html</span></pre> </div><div>needs to become<br><pre id="gmail-line1"><span>ampersand <span class="entity"><span>&</span>amp;</span> is <span class="entity"><span>&amp;</span>amp;</span>amp;<br></span></pre><pre id="gmail-line1"><span>to show the correct x3d on the web page.<br></span></pre><pre id="gmail-line1"><span>-Andreas<br></span></pre></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_5693052189562980907WordSection1"><p class="MsoNormal"> <u></u></p><p class="MsoNormal">John</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p><p class="MsoNormal"><u></u> <u></u></p><div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0in 0in"><p class="MsoNormal" style="border-width:medium;border-style:none;border-color:currentcolor;padding:0in"><b>From: </b><a href="mailto:andreasplesch@gmail.com" target="_blank">Andreas Plesch</a><br><b>Sent: </b>Wednesday, April 26, 2017 3:12 PM<br><b>To: </b><a href="mailto:brutzman@nps.edu" target="_blank">Don Brutzman</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] MFString quoting [was: interesting sample]</p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><p class="MsoNormal">Hi Don,</p></div><div><p class="MsoNormal"> </p></div><blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal" style="margin-bottom:12pt">Date: Wed, 26 Apr 2017 10:37:54 -0700<br>From: Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>><br><br>Good discussion, and perhaps document clarity can be improved by additional prose and further examples.  Several mantis issues have suggested that.<br><br>However that specification document - XML encoding for X3D - isn't wrong, per se.  Characters " and &quot; are equivalent in XML, and that is why each of the proposed example variants actually work.<br><br>Further if we even tried to distinguish between special-character representations in the X3D XML encoding, all XML parsers would ignore such distinctions.<br><br>Lots more detail on handling string characters available in<br><br>        _X3D for Web Authors_<br>        <a href="http://x3dgraphics.com" target="_blank">http://x3dgraphics.com</a><br><br>        Geometry Part 1: Primitives<br>        <a href="http://x3dgraphics.com/slidesets/X3dForWebAuthors/Chapter02-GeometryPrimitives.pdf" target="_blank">http://x3dgraphics.com/<wbr>slidesets/X3dForWebAuthors/<wbr>Chapter02-GeometryPrimitives.<wbr>pdf</a></p></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">"Not found". The pdf does not seem to be available anymore ?</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"> </p></div><blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal">        X3D Example Archives: X3D for Web Authors, Chapter 02 Geometry Primitives (3 scenes)<br>        <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives" target="_blank">http://x3dgraphics.com/<wbr>examples/X3dForWebAuthors/<wbr>Chapter02-GeometryPrimitives</a></p></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersIndex.html" target="_blank">http://x3dgraphics.com/<wbr>examples/X3dForWebAuthors/<wbr>Chapter02-GeometryPrimitives/<wbr>TextSpecialCharactersIndex.<wbr>html</a></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">First I thought both the cobweb and x3dom rendering are incorrect. But then I saw that for the x3dom encoding, all original ampersands from entities first characters got turned into a separate &amp; entity:</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><Text DEF='DefaultText' string='&quot;Character entity substitutions:&quot;         &quot;empty string \&quot;\&quot; skips a line:&quot;         &quot;&quot;         &quot;apostrophe  &apos;  is &amp;apos;&quot;          &quot;ampersand &amp; is &amp;amp;&quot;         &quot;quote mark  \&quot;  is &amp;quot;&quot;         &quot;backslash \\ is X3D escape character&quot;         &quot;double backslash \\\\ is X3D backslash \\ character&quot;         &quot;Pi Π is &amp;#928; XML character entity&quot;'></p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">which I think makes the x3dom rendering correct.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">It turns out the same conversion is happening to the .x3d file as well: <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharacters.x3d" target="_blank">http://x3dgraphics.com/<wbr>examples/X3dForWebAuthors/<wbr>Chapter02-GeometryPrimitives/<wbr>TextSpecialCharacters.x3d</a></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">If the cobweb (and x3dom) rendering is the intended rendering, then the html on</p></div><div><p class="MsoNormal"> <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersIndex.html" target="_blank">http://x3dgraphics.com/<wbr>examples/X3dForWebAuthors/<wbr>Chapter02-GeometryPrimitives/<wbr>TextSpecialCharactersIndex.<wbr>html</a></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">should be probably changed to show the text MFString as above or here: <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersX3dom.xhtml" target="_blank">http://x3dgraphics.com/<wbr>examples/X3dForWebAuthors/<wbr>Chapter02-GeometryPrimitives/<wbr>TextSpecialCharactersX3dom.<wbr>xhtml</a></p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Andreas</p></div></div></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div></div>