<div dir="auto">I am in agreement with Vince, but I would say XML element tag instead of XML element name.  I have not read the XML encoding spec.</div><div dir="auto"><br></div><div dir="auto">We may want to say something about concrete node types which inherit from each other, if this is allowed.</div><div dir="auto"><br></div><div dir="auto">John </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 26, 2024 at 2:46 PM Joe D Williams <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank You Vincent,<br>
<br>
At the bottom of the report, the lines showing improper coding was blank so here is example.<br>
<br>
The sequence:<br>
Transform DEF='BorderFlower01' .../<br>
then<br>
Transform DEF='FlowerSpecial' ...<br>
Shape USE='BorderFlower01' /<br>
/<br>
<br>
Does not match ShapeChildContentModel<br>
Contained node's relationship to its parent node is wrong,<br>
Shape has no children so wrong containerfield for Transform.<br>
Transform needs containerField=children<br>
Shape is not a Grouping Node.<br>
<br>
<br>
Thanks Again,<br>
Joe<br>
-----Original Message-----<br>
From: Spec Feedback <<a href="mailto:spec-comment@web3d.org" target="_blank">spec-comment@web3d.org</a>><br>
Sent: Jan 26, 2024 7:36 AM<br>
To: <<a href="mailto:x3d@web3d.org" target="_blank">x3d@web3d.org</a>><br>
Subject: [x3d] Spec Comment by vmarchetti on 19776-1: XML Encoding - V3.3<br>
<br>
-- Submitter indicates that this comment may be public: *Yes* --<br>
<br>
Comment on 19776-1: XML Encoding - V3.3<br>
4.3.4<br>
<a href="https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#DEFAndUSEAttributeSyntax" rel="noreferrer" target="_blank">https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#DEFAndUSEAttributeSyntax</a><br>
<br>
-----------------<br>
Recent posts to the X3D-Public mailing list have pointed out that there is a<br>
discrepancy among browsers in how they handle the<br>
DEF/USE statements if the XML elements in the XML encoding have disparate<br>
names.<br>
<a href="http://web3d.org/pipermail/x3d-public_web3d.org/2024-January/020212.html" rel="noreferrer" target="_blank">http://web3d.org/pipermail/x3d-public_web3d.org/2024-January/020212.html</a><br>
<br>
I recommend the XML encoding spec be edited, in the next standard submission<br>
cycle, to clarify that it is invalid for XML elements with different names<br>
(i.e. encoding different X3D nodes) to have matching values of DEF/USE<br>
attributes.)<br>
<br>
Proposed wording to be added to what is now Section 4.3.4 of the 19776-1<br>
document at version 3.3:<br>
<a href="https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#DEFAndUSEAttributeSyntax" rel="noreferrer" target="_blank">https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#DEFAndUSEAttributeSyntax</a><br>
<br>
Suggest adding this text:<br>
<br>
-----------------------------------------------------------------------------<br>
It is a validation error when an XML element with a DEF attribute matches<br>
another element's USE attribute but has a different XML element name.<br>
<br>
Example of invalid XML encoding:<br>
<br>
<br>
<br>
<br>
<br>
<br>
____________________________________________________________________________<br>
<br>
-----------------<br>
<br>
Submitted on Friday, 2024, January 26 - 10:36am<br>
by vmarchetti (Vincent Marchetti )<br>
IP: 76.34.206.25<br>
<br>
See: <a href="https://www.web3d.org/node/1694/submission/10124" rel="noreferrer" target="_blank">https://www.web3d.org/node/1694/submission/10124</a><br>
<br>
<br>
_______________________________________________<br>
x3d mailing list<br>
<a href="mailto:x3d@web3d.org" target="_blank">x3d@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d_web3d.org</a><br>
<br>
<br>
<br>
_______________________________________________<br>
x3d mailing list<br>
<a href="mailto:x3d@web3d.org" target="_blank">x3d@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d_web3d.org</a><br>
</blockquote></div></div>