[x3d-public] Unexpected behaviour of X3D Validator

Frédéric Vogt frederic.vogt at alumni.anu.edu.au
Thu May 31 07:19:44 PDT 2018


Dear X3D gurus, 

I am once again trying to assemble an astro-X3D model using the mayavi python module, here: http://www.sc.eso.org/~fvogt/Shapley/shapley.html <http://www.sc.eso.org/~fvogt/Shapley/shapley.html>

I am on Mac OS X Yosemite (still…), and can load the model just fine with:

Firefox 60.0.1
Chrome 67.0.3396.62

However, the model does *not* load with:

Safari 10.1.2 -> I get “ERROR: no scene in resource” message in the development console right after it loads the underlying X3D file.

I have confirmed that under Mac OS X High Sierra, with Safari 11.1, it does works, though! 

So I started worrying about possible formatting issues with my X3D file based on this old thread: https://sourceforge.net/p/x3dom/mailman/message/32684050/ <https://sourceforge.net/p/x3dom/mailman/message/32684050/>
After all, I already know that the VTK X3D exporter is far from being perfect! http://fpavogt.github.io/x3d-pathway/dices.html <http://fpavogt.github.io/x3d-pathway/dices.html>

Which brings me to my question about the X3D Validator, which I tried to use to check for any bug in my model: https://savage.nps.edu/X3dValidator <https://savage.nps.edu/X3dValidator>

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

<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3'  
      xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' 
      xsd:noNamespaceSchemaLocation =‘ http://www.web3d.org/specifications/x3d-3.3.xsd '>

then the X3D Validator returns me an empty page. 

What am I doing wrong here ? 

The file in question (if anyone is keen to try it out themselves) is: http://www.sc.eso.org/~fvogt/Shapley/shapley_small.x3d <http://www.sc.eso.org/~fvogt/Shapley/shapley_small.x3d>

Cheers,
Frédéric





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180531/5d2f7ea7/attachment-0001.html>


More information about the x3d-public mailing list