[x3d-public] Additional "]>" characters rendered in X3D 4.0 HTML output, due to non-standard DOCTYPE

Michalis Kamburelis michalis.kambi at gmail.com
Thu Jan 28 14:43:15 PST 2021


The latest X3D 4.0 drafts render with an additional "]>" characters at
the beginning of every page. I attach screenshots.

This can be seen on any page, e.g. visit
https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD3/
. In Firefox and in Google Chrome.

The effect is even weirder if you open the frame version through the
main page. Both frames start with "]>".

Running "ant" in the repo it reports for all HTMLs:

    sound.html: Doctype given is "—"

... which is also a symptom of the problem.

Looking at HTML source code, every HTML starts with this non-standard
DOCTYPE line:

"""
<!DOCTYPE html [ <!ENTITY mdash "&#x2014;"> <!ENTITY nbsp " ">
<!ENTITY infin "∞"> <!ENTITY minus "−"> <!ENTITY pi
"π"> <!ENTITY plusmn "±"> <!ENTITY times "×"> <!ENTITY
le "≤"> <!ENTITY ge "≥"> <!ENTITY copy "©"> ]>
"""

So... neither Tidy, nor Firefox, nor Google Chrome understand this
non-standard DOCTYPE in a way that was probably intended.

Can we change the DOCTYPE to be more standard? Preferably just
simplest """<!DOCTYPE html>""" as you can see on all other web pages
:)

Regards,
Michalis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zrzut ekranu z 2021-01-28 23-22-24.png
Type: image/png
Size: 133020 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210128/ce1f1633/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zrzut ekranu z 2021-01-28 23-22-13.png
Type: image/png
Size: 146509 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210128/ce1f1633/attachment-0003.png>


More information about the x3d-public mailing list