S
Stefan Ram
I used to believe that JavaDoc comments had to be written in
version 3.2 of HTML. But now I read:
»You can use whichever version of HTML your browser supports«
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html
Is XHTML (1.0, 1.1, 2.0) a HTML version in this sense?
Is HTML 5.0 a HTML version in this sense?
Doesn't this reduce the interoperability of Java source code,
compared to a JavaDoc, where everyone is required to use a
specific HTML version?
For example, HTML element type names may have different
meanings in different HTML versions. When such an element is
used in JavaDoc, how can an interpreter of the source file
(human or machine) know, which meaning is intended (as there
is no way to specify the HTML version used).
Maybe it is Swing, where version 3.2 of HTML is required and
I have confused this with JavaDoc.
version 3.2 of HTML. But now I read:
»You can use whichever version of HTML your browser supports«
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html
Is XHTML (1.0, 1.1, 2.0) a HTML version in this sense?
Is HTML 5.0 a HTML version in this sense?
Doesn't this reduce the interoperability of Java source code,
compared to a JavaDoc, where everyone is required to use a
specific HTML version?
For example, HTML element type names may have different
meanings in different HTML versions. When such an element is
used in JavaDoc, how can an interpreter of the source file
(human or machine) know, which meaning is intended (as there
is no way to specify the HTML version used).
Maybe it is Swing, where version 3.2 of HTML is required and
I have confused this with JavaDoc.