<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Frédéric,<br>
<br>
If I open your small world in BS Contact (stand-alone), I get the
following message in the console:<br>
<br>
<blockquote>Loading scene
C:\Users\Leonard\AppData\Local\Temp\shapley_small.x3d<br>
VRML syntax error: line 1 in createVrmlFromString:<br>
String constant not quoted with ", got N<br>
</blockquote>
<br>
This message comes from (I think) line 197115 that is:<br>
<Text string="N "><br>
<br>
The 'string' field is an MFString so it needs to be expressed (in
a strictly standards-compliant manner) as:<br>
<br>
<Text string='"N "'><br>
<br>
Outer quotes are ', inner ones are ".<br>
<br>
<br>
The messages from the InstantPlayer console is:<br>
<br>
<blockquote>LOG Avalon Init: 12/286, V2.6.0 build: R-28726
Sep 30 2015 Windows x86_64<br>
LOG Avalon CDF parsing (1.085s): 631 Node-Types defined<br>
WARNING Avalon Collision/94445680 has ambiguous fields
(2) adding ComponentTransform/TRANS_LABEL<br>
FATAL S3 Unknown S3 backend default; can not create<br>
WARNING S3 Could not create S3 backend: default<br>
</blockquote>
<br>
Notes: <br>
<ol>
<li>My version is almost 3 years old, you should probably get a
newer version</li>
<li>The Collision node at line 197108 is generating the above
warning. It may be the same fundamental problem is indicated
above.</li>
<li>I do not know what the "S3 backend" is, though it may be
related to the age of InstantReality I am using.<br>
</li>
</ol>
<p><br>
</p>
<p>It would help to know which X3D plugin you have installed
and/or are using in your web browser. No web browser natively
supports X3D. There are two JavaScript libraries that might work
for you - X3DOM and X-ITE; although, the size of your world may
be too large for them.</p>
<p>I do not know about the X3D Validator.<br>
</p>
<br>
<br>
<br>
</div>
<blockquote type="cite"
cite="mid:10ADBEC1-A363-4978-8193-C94A53E2BA8B@alumni.anu.edu.au">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Dear X3D gurus,
<div class=""><br class="">
</div>
<div class="">I am once again trying to assemble an astro-X3D
model using the mayavi python module, here: <a
href="http://www.sc.eso.org/%7Efvogt/Shapley/shapley.html"
class="" moz-do-not-send="true">http://www.sc.eso.org/~fvogt/Shapley/shapley.html</a></div>
<div class=""><br class="">
</div>
<div class="">I am on Mac OS X Yosemite (still…), and can load the
model just fine with:</div>
<div class=""><br class="">
</div>
<div class="">Firefox 60.0.1<br class="">
Chrome 67.0.3396.62<br class="">
<br class="">
However, the model does *not* load with:<br class="">
<br class="">
Safari 10.1.2 -> I get “ERROR: no scene in resource” message
in the development console right after it loads the underlying
X3D file.<br class="">
<br class="">
I have confirmed that under Mac OS X High Sierra, with Safari
11.1, it does works, though! </div>
<div class=""><br class="">
</div>
<div class="">So I started worrying about possible formatting
issues with my X3D file based on this old thread: <a
href="https://sourceforge.net/p/x3dom/mailman/message/32684050/"
class="" moz-do-not-send="true">https://sourceforge.net/p/x3dom/mailman/message/32684050/</a></div>
<div class="">After all, I already know that the VTK X3D exporter
is far from being perfect! <a
href="http://fpavogt.github.io/x3d-pathway/dices.html"
class="" moz-do-not-send="true">http://fpavogt.github.io/x3d-pathway/dices.html</a></div>
<div class=""><br class="">
</div>
<div class="">Which brings me to my question about the X3D
Validator, which I tried to use to check for any bug in my
model: <a href="https://savage.nps.edu/X3dValidator" class=""
moz-do-not-send="true">https://savage.nps.edu/X3dValidator</a></div>
<div class=""><br class="">
</div>
<div class="">When I load a smaller version of the X3D model (I
can’t load the actual model, likely too big), I get an error
because of the lack of DTD info. But when I try to include</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D
3.3//EN" "<a
href="http://www.web3d.org/specifications/x3d-3.3.dtd"
class="" moz-do-not-send="true">http://www.web3d.org/specifications/x3d-3.3.dtd</a>"></div>
<div class=""><X3D profile='Immersive' version='3.3' </div>
<div class=""> xmlns:xsd='<a
href="http://www.w3.org/2001/XMLSchema-instance%27" class=""
moz-do-not-send="true">http://www.w3.org/2001/XMLSchema-instance'</a> </div>
<div class=""> xsd:noNamespaceSchemaLocation =‘ <a
href="http://www.web3d.org/specifications/x3d-3.3.xsd"
class="" moz-do-not-send="true">http://www.web3d.org/specifications/x3d-3.3.xsd</a>
'></div>
</div>
<div class=""><br class="">
</div>
<div class="">then the X3D Validator returns me an empty page. </div>
<div class=""><br class="">
</div>
<div class="">What am I doing wrong here ? </div>
<div class=""><br class="">
</div>
<div class="">The file in question (if anyone is keen to try it
out themselves) is: <a
href="http://www.sc.eso.org/%7Efvogt/Shapley/shapley_small.x3d"
class="" moz-do-not-send="true">http://www.sc.eso.org/~fvogt/Shapley/shapley_small.x3d</a></div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">Frédéric</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</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>
<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 Past Chair<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>