<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:Helvetica;
        panose-1:2 11 5 4 2 2 2 2 2 4;}
@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;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.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" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Thanks John, </p><p class=MsoNormal>OK, file seems better now.  </p><p class=MsoNormal>Joe</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:yottzumm@gmail.com">John Carlson</a><br><b>Sent: </b>Friday, December 23, 2022 9:55 AM<br><b>To: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a>; <a href="mailto:joedwil@earthlink.net">Joe D Williams</a>; <a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a><br><b>Subject: </b>Fwd: [x3d-public] X3D example to show x3d.py on the web?</p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal>There are issues thrown against the generated files from X3dToPython.xslt and X3dToJson.xslt, if I'm reading this right.  Actually, I just checked the source file against the X3D validator, and there appear to be multiple issues!</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Please fix the .x3d in your original zip, Joe!</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>John</p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>$ jsonlint data/Web3dLogo-X3d-animated-logo2.json</p></div><div><p class=MsoNormal>Error: Parse error on line 373:</p></div><div><p class=MsoNormal>...@rotation":[0,0,1,0,#,-1,0,0,-1.571],</p></div><div><p class=MsoNormal>-----------------------^</p></div><div><p class=MsoNormal>Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'</p></div><div><p class=MsoNormal>    at Object.parseError (C:\Users\john\AppData\Roaming\npm\node_modules\jsonlint\lib\jsonlint.js:55:11)</p></div><div><p class=MsoNormal>    at Object.parse (C:\Users\john\AppData\Roaming\npm\node_modules\jsonlint\lib\jsonlint.js:132:22)</p></div><div><p class=MsoNormal>    at parse (C:\Users\john\AppData\Roaming\npm\node_modules\jsonlint\lib\cli.js:82:14)</p></div><div><p class=MsoNormal>    at main (C:\Users\john\AppData\Roaming\npm\node_modules\jsonlint\lib\cli.js:135:14)</p></div><div><p class=MsoNormal>    at Object.<anonymous> (C:\Users\john\AppData\Roaming\npm\node_modules\jsonlint\lib\cli.js:179:1)</p></div><div><p class=MsoNormal>    at Module._compile (node:internal/modules/cjs/loader:1105:14)</p></div><div><p class=MsoNormal>    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)</p></div><div><p class=MsoNormal>    at Module.load (node:internal/modules/cjs/loader:981:32)</p></div><div><p class=MsoNormal>    at Function.Module._load (node:internal/modules/cjs/loader:822:12)</p></div><div><p class=MsoNormal>    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>$ python data/Web3dLogo-X3d-animated-logo2.py</p></div><div><p class=MsoNormal>  File "C:\Users\john\X3DJSONLD\src\main\data\Web3dLogo-X3d-animated-logo2.py", line 41</p></div><div><p class=MsoNormal>    children=[</p></div><div><p class=MsoNormal>             ^</p></div><div><p class=MsoNormal>SyntaxError: '[' was never closed</p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Attaching files.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I'm going to set this aside for now, but the last thing I will do is check the XML</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><b><span style='font-size:10.5pt;font-family:"Helvetica",sans-serif'><a href="https://mail.google.com/mail/u/0?ui=2&ik=2e448ad1e1&attid=0.1&permmsgid=msg-f:1752956126933292702&th=1853c04f54b4169e&view=att&disp=safe" target="_blank">Web3dLogo-X3d-animated-logo2.zip</a> has the bad .x3d file!<o:p></o:p></span></b></p></div></div><div><p class=MsoNormal><b><span style='font-size:10.5pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></b></p></div><div><p class=MsoNormal><b><span style='font-size:10.5pt;font-family:"Helvetica",sans-serif'>Thanks!<o:p></o:p></span></b></p></div><div><p class=MsoNormal><b><span style='font-size:10.5pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></b></p></div><div><p class=MsoNormal><b><span style='font-size:10.5pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></b></p></div><div><div><p class=MsoNormal>---------- Forwarded message ---------<br>From: <strong><span style='font-family:"Calibri",sans-serif'>Joseph D Williams</span></strong> <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>><br>Date: Thu, Dec 22, 2022 at 4:47 PM<br>Subject: RE: [x3d-public] X3D example to show x3d.py on the web?<br>To: John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>>, X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>This one?</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Thursday, December 22, 2022 1:26 PM<br><b>To: </b><a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public mailing list</a><br><b>Subject: </b>[x3d-public] X3D example to show x3d.py on the web?</p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Does anyone have an x3d example they’d like to convert to Python and display on the web?</p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I’d like a beefier example than “HelloWorld.py”. since that’s been done.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>It should be compatible with X3DOM and x3d.py.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>You’ll get a python file and an HTML file back.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I trust you will be experienced enough to install brython locally.   I will take a video  and post on YouTube.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks!</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>John</p></div></div></div></div></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal><o:p> </o:p></p></div></body></html>