[x3d-public] X3DJSAIL. Getting a lot of new warnings. Advise?
John Carlson
yottzumm at gmail.com
Sun Mar 31 00:38:47 PDT 2019
Oh, yeah, it’s not an error, but a warning.
John
Sent from Mail for Windows 10
From: Brutzman, Donald (Don) (CIV)
Sent: Saturday, March 30, 2019 11:39 PM
To: John Carlson
Cc: X3D Graphics public mailing list
Subject: Re: X3DJSAIL. Getting a lot of new warnings. Advise?
I just regenerated .java versions and revalidated the entire set of X3D Examples Archive scenes using X3DJSAIL, but didn't get this error.
I suspect that you have an older version of X3DJSAIL jar in your classpath. Please refresh/retry.
Setup documentation:
http://www.web3d.org/specifications/java/X3DJSAIL.html#CLASSPATH
Hmmm.... looking at that section, likely should update that from v3.3 to v4.0, or perhaps offer both (regular and experimental). However, since X3DUOM is almost completely backwards compatible, can possibly offer an unnumbered version that supports v4.0 and backwards. That might lead to future difficulties for other users however.
Any preferences? provide X3DJSAIL.4.0.full.jar or X3DJSAIL.full.jar or both?
BTW the recent diagnostic update that includes [meta] error/warning/hint/info elements in validation output is very helpful for ignoring false positives.
Will also be deploying an update late tonite that does a better job of catching X3DLoader error diagnostics when illegal (or unexpected) parent-child relationships are encountered. Also clears up superfluous warnings for meta name="photo" and meta name="movie" in scene headers.
Please update and retry when convenient, thanks John.
On 3/29/2019 4:34 PM, Brutzman, Donald (Don) (CIV) wrote:
> Thanks John. I can certainly find and test all examples. Appreciate your clarification that it wasn't just a special test file.
>
> On 3/28/2019 7:00 AM, John Carlson wrote:
>> 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.
[...]
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?
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/20190331/29523e85/attachment.html>
More information about the x3d-public
mailing list