[x3d-public] X3DJSAIL. Getting a lot of new warnings. Advise?

John Carlson yottzumm at gmail.com
Thu Mar 28 07:52:06 PDT 2019


Full run of python file:


$ python ../../../../../content/examples/ConformanceNist/BindableNodes/Fog/default_binding_proto.py
Warning: meta name newValue="disclaimer" has an unrecognized value not matching any of the optional string tokens.
Warning: /x3d-code/www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Fog/default_binding_proto.new.x3d does not meet suggested X3D naming conventions, output serialization continuing...
Warning: meta name newValue="disclaimer" has an unrecognized value not matching any of the optional string tokens.
Model diagnostic: <meta name='info' content='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, http://www.web3d.org/working-groups/x3d'/>
WARNING_MESSAGE: ProtoInstance name='FogProto' DEF='' USE='' is missing containerField relationship to parent node, assuming containerField='children' from initial node in corresponding ProtoDeclare. Need to fix ProtoInstance definition in model source.
Warning: toFileX3D() is overwriting prior file /x3d-code/www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Fog/default_binding_proto.new.x3d
=============================================================================================
coderextreme at DESKTOP-DOPK2VD MINGW64 /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/python/pyjnius
$ grep ProtoInstance !$
grep ProtoInstance ../../../../../content/examples/ConformanceNist/BindableNodes/Fog/default_binding_proto.py
ProtoInstance23 = ProtoInstance()
ProtoInstance23.setName("FogProto")
Scene17.addChildren(ProtoInstance23)


Sent from Mail for Windows 10

From: John Carlson
Sent: Thursday, March 28, 2019 9:44 AM
To: Brutzman, Donald (Don) (CIV); X3D Graphics public mailing list
Subject: RE: X3DJSAIL. Getting a lot of new warnings. Advise?

I believe you’ll have to convert the example scenes to Java or Python and run them to get the error.

Sent from Mail for Windows 10

From: John Carlson
Sent: Thursday, March 28, 2019 9:00 AM
To: Brutzman, Donald (Don) (CIV); X3D Graphics public mailing list
Subject: RE: X3DJSAIL. Getting a lot of new warnings. Advise?

I believe there are many.  Here are some (I am fairly sure) from the archives.

To find your own set, try this command under Cygwin:

$ find x3d-code/www.web3d.org/x3d/content/examples -type f -print0 |xargs -0 grep "<ProtoInstance" |grep -v containerField| awk -F: '{ print $1; }'|uniq

Note if containerField is on another line from ProtoInstance, it will create a false positive.

John


./ConformanceNist/BindableNodes/Fog/default_binding_proto.new.x3d
./ConformanceNist/BindableNodes/Fog/default_binding_proto.x3d
./ConformanceNist/BindableNodes/NavigationInfo/default_binding_proto.new.x3d
./ConformanceNist/BindableNodes/NavigationInfo/default_binding_proto.x3d
./ConformanceNist/BindableNodes/Viewpoint/default_binding_proto.new.x3d
./ConformanceNist/BindableNodes/Viewpoint/default_binding_proto.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/different_name.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/different_name.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/first_proto.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/first_proto.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/ignore_externproto.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/ignore_externproto.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/multi_url_specific.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/multi_url_specific.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/multi_url_specific_nofile.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/multi_url_specific_nofile.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/specific_proto.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/specific_proto.x3d
./ConformanceNist/Miscellaneous/LocalFog/LocalFogEffectsTest.new.x3d
./ConformanceNist/Miscellaneous/LocalFog/LocalFogEffectsTest.x3d
./ConformanceNist/Miscellaneous/PROTO/def.new.x3d
./ConformanceNist/Miscellaneous/PROTO/def.x3d
./ConformanceNist/Miscellaneous/PROTO/fivedeepinternalroute.new.x3d
./ConformanceNist/Miscellaneous/PROTO/fivedeepinternalroute.x3d
./ConformanceNist/Miscellaneous/PROTO/fivedeepnesting.new.x3d
./ConformanceNist/Miscellaneous/PROTO/fivedeepnesting.x3d
./ConformanceNist/Miscellaneous/PROTO/route_inside.new.x3d
./ConformanceNist/Miscellaneous/PROTO/route_inside.x3d
./ConformanceNist/Miscellaneous/PROTO/simple.new.x3d
./ConformanceNist/Miscellaneous/PROTO/simple.x3d


Sent from Mail for Windows 10

From: Brutzman, Donald (Don) (CIV)
Sent: Thursday, March 28, 2019 3:37 AM
To: John Carlson; X3D Graphics public mailing list
Subject: Re: X3DJSAIL. Getting a lot of new warnings. Advise?

please send example scene so i can scrutinize more closely.

On 3/26/2019 7:24 AM, John Carlson wrote:
> WARNING_MESSAGE: ProtoInstance name='node' DEF='nodeB' USE='' is missing containerField relationship to parent node, assuming containerField='children' from initial node in corresponding ProtoDeclare. Need to fix ProtoInstance definition in model source.
> 
> Do I just need to add a containerField to my ProtoInstances?

if not containerField="children" field relationship, then it is definitely needed with correct value.

default is containerField="children" which should be optional.

> Thanks,
> 
> John

likewise thanks John

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190328/c76b33c6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default_binding_proto.py
Type: application/octet-stream
Size: 5231 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190328/c76b33c6/attachment-0001.obj>


More information about the x3d-public mailing list