[x3d-public] Unexpected behaviour of X3D Validator

Leonard Daly Leonard.Daly at realism.com
Thu May 31 10:10:30 PDT 2018


Hi Frédéric,

If I open your small world in BS Contact (stand-alone), I get the 
following message in the console:

    Loading scene C:\Users\Leonard\AppData\Local\Temp\shapley_small.x3d
    VRML syntax error: line   1 in createVrmlFromString:
    String constant not quoted with ", got N


This message comes from (I think) line 197115 that is:
             <Text string="N ">

The 'string' field is an MFString so it needs to be expressed (in a 
strictly standards-compliant manner) as:

             <Text string='"N "'>

Outer quotes are ', inner ones are ".


The messages from the InstantPlayer console is:

    LOG    Avalon     Init: 12/286, V2.6.0 build: R-28726 Sep 30 2015
    Windows x86_64
    LOG    Avalon     CDF parsing (1.085s): 631 Node-Types defined
    WARNING    Avalon     Collision/94445680 has ambiguous fields (2)
    adding ComponentTransform/TRANS_LABEL
    FATAL    S3     Unknown S3 backend default; can not create
    WARNING    S3     Could not create S3 backend: default


Notes:

 1. My version is almost 3 years old, you should probably get a newer
    version
 2. The Collision node at line 197108 is generating the above warning.
    It may be the same fundamental problem is indicated above.
 3. I do not know what the "S3 backend" is, though it may be related to
    the age of InstantReality I am using.


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.

I do not know about the 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/%7Efvogt/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/
> After all, I already know that the VTK X3D exporter is far from being 
> perfect! 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
>
> 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' 
> <http://www.w3.org/2001/XMLSchema-instance%27>
>       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/%7Efvogt/Shapley/shapley_small.x3d>
>
> Cheers,
> Frédéric
>
>
>
>
>
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org


-- 
*Leonard Daly*
3D Systems & Cloud Consultant
LA ACM SIGGRAPH Past Chair
President, Daly Realism - /Creating the Future/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180531/0b62ea8a/attachment.html>


More information about the x3d-public mailing list