<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.entity
{mso-style-name:entity;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I do have a problem with the JSON encoding for the attached file (translated by X3dToJson.xslt). Let me know if you think otherwise. Look at all the \\\\\.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:andreasplesch@gmail.com">Andreas Plesch</a><br><b>Sent: </b>Wednesday, April 26, 2017 5:21 PM<br><b>To: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a><br><b>Cc: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a>; <a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] MFString quoting [was: interesting sample]</p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Apr 26, 2017 at 3:55 PM, <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</p><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal>It’s</p><p class=MsoNormal> </p><p class=MsoNormal><a href="http://x3dgraphics.com/slidesets/X3dForWebAuthors/Chapter02GeometryPrimitives.pdf" target="_blank">http://x3dgraphics.com/slidesets/X3dForWebAuthors/Chapter02GeometryPrimitives.pdf</a></p><p class=MsoNormal> </p><p class=MsoNormal>Got caught in the grand renaming. Also the parent page is wrong.</p></div></div></blockquote><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks.</p></div><div><p class=MsoNormal>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 instead of & , for example. So probably <br><br></p><pre>ampersand <span class=entity>&</span> is <span class=entity>&</span>amp;<br><br> in the html</pre></div><div><p class=MsoNormal>needs to become<br><br></p><pre>ampersand <span class=entity>&</span> is <span class=entity>&amp;</span>amp;<o:p></o:p></pre><pre id=gmail-line1>to show the correct x3d on the web page.<o:p></o:p></pre><pre id=gmail-line1>-Andreas</pre></div><div><p class=MsoNormal> </p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal> </p><p class=MsoNormal>John</p><p class=MsoNormal> </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> <o:p></o:p></p><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor'><p class=MsoNormal><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> </p><div><div><div><div><p class=MsoNormal>Hi Don,</p></div><div><p class=MsoNormal> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)'><p class=MsoNormal style='margin-bottom:12.0pt'>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 " 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/slidesets/X3dForWebAuthors/Chapter02-GeometryPrimitives.pdf</a></p></blockquote><div><p class=MsoNormal> </p></div><div><p class=MsoNormal>"Not found". The pdf does not seem to be available anymore ?</p></div><div><p class=MsoNormal> </p></div><div><p class=MsoNormal> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)'><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/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives</a></p></blockquote><div><p class=MsoNormal> </p></div><div><p class=MsoNormal><a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersIndex.html" target="_blank">http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersIndex.html</a></p></div><div><p class=MsoNormal> </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 & entity:</p></div><div><p class=MsoNormal> </p></div><div><p class=MsoNormal><Text DEF='DefaultText' string='"Character entity substitutions:" "empty string \"\" skips a line:" "" "apostrophe ' is &apos;" "ampersand & is &amp;" "quote mark \" is &quot;" "backslash \\ is X3D escape character" "double backslash \\\\ is X3D backslash \\ character" "Pi Π is &#928; XML character entity"'></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> </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/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharacters.x3d</a></p></div><div><p class=MsoNormal> </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/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersIndex.html</a></p></div><div><p class=MsoNormal> </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/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/TextSpecialCharactersX3dom.xhtml</a></p></div><div><p class=MsoNormal> </p></div><div><p class=MsoNormal> </p></div><div><p class=MsoNormal>Andreas</p></div></div></div></div><p class=MsoNormal> </p><p class=MsoNormal> </p></div></div></blockquote></div><p class=MsoNormal><br><br clear=all><br>-- </p></div></div><p class=MsoNormal>Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>