Why does Javadoc generate non-compliant XHTML?

后端 未结 2 1053
情书的邮戳
情书的邮戳 2021-02-10 00:52

I just pasted some generated javadoc into an eclipse project, to discover none of the HTML is compliant.

There is even cases of closing tags that were never opened.

2条回答
  •  后悔当初
    2021-02-10 01:17

    The short answer is that JavaDocs predate XHTML.

    There was an interesting thread on the Java Posse group about this recently that you might find interesting: why is javadoc stuck in 1997?

提交回复
热议问题