<div dir="ltr"><div>As I had mentioned  at Web3D 2019, the use of dashes is a name space mechanism in HTML5,. Let me follow up with background and references:</div><div><br></div><div>A) What is HTML5 ?</div><div><br></div><div>I believe the W3C and WHATWG spec. divergence was resolved:</div><div><br></div><div>WHATWG:</div><div><a href="https://html.spec.whatwg.org/multipage/introduction.html#is-this-html5?">https://html.spec.whatwg.org/multipage/introduction.html#is-this-html5?</a><br></div><div><br></div><div>W3C:</div><div>latest recommendation:</div><div><a href="https://www.w3.org/TR/2017/REC-html52-20171214/">https://www.w3.org/TR/2017/REC-html52-20171214/</a><br></div><div>latest working draft:</div><div><a href="https://www.w3.org/TR/2018/WD-html53-20181018/">https://www.w3.org/TR/2018/WD-html53-20181018/</a><br></div><div><br></div><div>B) Why custom elements ?</div><div><br></div><div>Custom elements are the recommended, standardized method to extend HTML5 to other domains. However, both x3dom and x-cite use other mechanisms. Currently, x3dom uses Unknown Elements and x-cite uses DOM provided XML parsing.</div><div><br></div><div>Unless W3C/WHATWG adopts X3D as native elements (such as SVG) which is unlikely in the near to medium term, the custom element specification would be the best fit to strongly couple X3D to HTML.</div><div><br></div><div>C) Dashes in custom element names</div><div><br></div><div>A valid custom element must contain a dash ("-") character. See the production here:</div><div><br></div><div>WHATWG:</div><div><a href="https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name">https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name</a><br></div><div><br></div><div>W3C:</div><div><a href="https://www.w3.org/TR/2018/WD-html53-20181018/semantics-scripting.html#valid-custom-element-name">https://www.w3.org/TR/2018/WD-html53-20181018/semantics-scripting.html#valid-custom-element-name</a><br></div><div><a href="https://www.w3.org/TR/2017/REC-html52-20171214/dom.html#elements">https://www.w3.org/TR/2017/REC-html52-20171214/dom.html#elements</a> links to<br></div><div><a href="https://www.w3.org/TR/custom-elements/#valid-custom-element-name">https://www.w3.org/TR/custom-elements/#valid-custom-element-name</a><br></div><div>which points back to HTML5.3 draft</div><div><br></div><div>The suggestion would be to add a "x3d-" prefix to all X3D nodes and keywords. "x-" is already used by multiple custom element collections.</div><div><br></div><div>-Andreas</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div></div>