[x3d-public] [x3d] Spec Comment by vmarchetti on 19776-1: XML Encoding - V3.3
Brutzman, Donald (Don) (CIV)
brutzman at nps.edu
Sat Jan 27 13:54:51 PST 2024
Thanks. Accepted as
* Mantis 1450: DEF and USE can only be used consistently with same
type of node
* https://www.web3d.org/member-only/mantis/view.php?id=1450
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 https://faculty.nps.edu/brutzman
-----Original Message-----
From: x3d <x3d-bounces at web3d.org> On Behalf Of Spec Feedback
Sent: Friday, January 26, 2024 7:36 AM
To: x3d at web3d.org
Subject: [x3d] Spec Comment by vmarchetti on 19776-1: XML Encoding - V3.3
-- Submitter indicates that this comment may be public: *Yes* --
Comment on 19776-1: XML Encoding - V3.3
4.3.4
<https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts
.html#DEFAndUSEAttributeSyntax>
https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.
html#DEFAndUSEAttributeSyntax
-----------------
Recent posts to the X3D-Public mailing list have pointed out that there is a
discrepancy among browsers in how they handle the DEF/USE statements if the
XML elements in the XML encoding have disparate names.
<http://web3d.org/pipermail/x3d-public_web3d.org/2024-January/020212.html>
http://web3d.org/pipermail/x3d-public_web3d.org/2024-January/020212.html
I recommend the XML encoding spec be edited, in the next standard submission
cycle, to clarify that it is invalid for XML elements with different names
(i.e. encoding different X3D nodes) to have matching values of DEF/USE
attributes.)
Proposed wording to be added to what is now Section 4.3.4 of the 19776-1
document at version 3.3:
<https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts
.html#DEFAndUSEAttributeSyntax>
https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.
html#DEFAndUSEAttributeSyntax
Suggest adding this text:
----------------------------------------------------------------------------
-
It is a validation error when an XML element with a DEF attribute matches
another element's USE attribute but has a different XML element name.
Example of invalid XML encoding:
____________________________________________________________________________
-----------------
Submitted on Friday, 2024, January 26 - 10:36am by vmarchetti (Vincent
Marchetti )
IP: 76.34.206.25
See: <https://www.web3d.org/node/1694/submission/10124>
https://www.web3d.org/node/1694/submission/10124
_______________________________________________
x3d mailing list
<mailto:x3d at web3d.org> x3d at web3d.org
<http://web3d.org/mailman/listinfo/x3d_web3d.org>
http://web3d.org/mailman/listinfo/x3d_web3d.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240127/84eb73bb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5464 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240127/84eb73bb/attachment-0001.p7s>
More information about the x3d-public
mailing list