<div dir="ltr">As mentioned on other thread:<div><br><div><a href="https://www.web3d.org/x3d/content/X3dTooltips.html#ID">https://www.web3d.org/x3d/content/X3dTooltips.html#ID</a> </div><div> <br></div><div>"<b style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(153,204,204)"><a href="https://www.w3.org/TR/REC-xml/#sec-attribute-types">ID</a></b><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(153,204,204)"> is a NMTOKEN that is unique within the scene, corresponding to the DEF attribute in X3D.</span> "</div><div><br></div><div>This would mean that the DEF attribute is unique within a scene? Or no?</div><div><br></div><div>Help! The sky is falling!</div><div><br></div><div>John <br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 26, 2020 at 9:26 AM Don Brutzman <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 3/25/2020 7:11 PM, GPU Group wrote:<br>
> Chisel? "it was simply put in the public domain by Trapezium when they folded many years ago. They didn¹t specify any license" - Louka<br>
> <a href="http://dug9.users.sourceforge.net/web3d/temp/chisel-src.zip" rel="noreferrer" target="_blank">http://dug9.users.sourceforge.net/web3d/temp/chisel-src.zip</a><br>
<br>
Also<br>
<br>
* X3D Resources: Conversions and Translation Tools<br>
<a href="https://www.web3d.org/x3d/content/examples/X3dResources.html#Conversions" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/examples/X3dResources.html#Conversions</a><br>
<br>
* 15. Chisel VRML Optimisation Tool<br>
<a href="http://www2.hrp.no/vr/tools/chisel/install.htm" rel="noreferrer" target="_blank">http://www2.hrp.no/vr/tools/chisel/install.htm</a><br>
<br>
with autoinstaller<br>
<a href="http://www2.hrp.no/vr/tools/chisel/install.htm" rel="noreferrer" target="_blank">http://www2.hrp.no/vr/tools/chisel/install.htm</a><br>
<br>
and documentation<br>
<a href="http://www2.hrp.no/vr/tools/chisel/doc/index.html" rel="noreferrer" target="_blank">http://www2.hrp.no/vr/tools/chisel/doc/index.html</a><br>
<br>
provided by Halden Virtual Reality Centre.<br>
<a href="http://www2.hrp.no/vr/about/index.html" rel="noreferrer" target="_blank">http://www2.hrp.no/vr/about/index.html</a><br>
<br>
Originally built by Trapezium and maintained by NIST.<br>
<a href="http://ovrt.nist.gov/chisel.html" rel="noreferrer" target="_blank">http://ovrt.nist.gov/chisel.html</a><br>
(link no longer working, hoping to find replacement)<br>
<br>
> But I suspect double-deffing isn't illegal. I think I've been through it, and different browsers honored the first or last definition.<br>
> -Doug<br>
<br>
Agreed. Although it is legal in X3D abstract specification and in VRML/ClassicVRML encodings, it leads to validation difficulties in XML (and at some point JSON when JSON Schema is finished).<br>
<br>
Wondering if we should define a suggested practice for de-duplicating DEF names within a proto, e.g.<br>
<br>
MyWhizzyProto includes DEF SomeDuplicatedName<br>
<br>
might get tidied up to globally rename<br>
<br>
MyWhizzyProto includes DEF MyWhizzyProto.SomeDuplicatedName<br>
<br>
We might also apply this in the PrototypeExpander work if that gets revisited.<br>
<br>
Thoughts?<br>
<br>
> On Wed, Mar 25, 2020 at 7:43 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a> <mailto:<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>> wrote:<br>
> <br>
> That is, more than one DEF with the same value.<br>
> <br>
> I realize that separate PROTOs may have the same DEF due to namespaces. Unfortunately writing a Unix script to find this takes massive brain power.<br>
> <br>
> John<br>
> <br>
> On Wed, Mar 25, 2020 at 8:37 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a> <mailto:<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>> wrote:<br>
> <br>
> I’m not particular looking for a vrml parser unless it catches double use of a DEF.<br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman Naval Postgraduate School, Code USW/Br <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</blockquote></div>