[x3d-public] Unexpected behaviour of X3D Validator

Andreas Plesch andreasplesch at gmail.com
Thu May 31 13:27:11 PDT 2018


I can confirm the validator behaviour. Perhaps the 'small' x3d is
still too large to be processed although the no DTD version is
actually processed.

https://gist.githubusercontent.com/andreasplesch/973d94d6e88db471e9473b0af78a5a67/raw/8d8f0aa7b397973f42ee74f62f200a3849f92d5c/Shapley_small_tidied.x3d

is the result of the no dtd x3d after being processed by the
validator, plus the MFString fixes noticed by Leonard.

x3dom is less strict about quoting in text node string field. This is
why x3dom works for your nice ShaSS 3d page. No plugins needed.

Not sure what the Safari 10.1.2 issue could be. Sometimes you get
these no scene errors if the html/xml parser had problems, often with
self-closing tags which work only in xml. Did the inlined x3d used to
work in this version of Safari ? Other messages in the browser
console, or x3dom debug console (press 'd') ? Does the inline tutorial
example on x3dom.org work ?

-Andreas

> Date: Thu, 31 May 2018 11:19:44 -0300
> From: Fr?d?ric Vogt <frederic.vogt at alumni.anu.edu.au>
> To: x3d-public at web3d.org
> Subject: [x3d-public] Unexpected behaviour of X3D Validator
>
> 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.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>
> ------------------------------
>
> End of x3d-public Digest, Vol 110, Issue 110
> ********************************************



-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list