-
Bug
-
Resolution: Duplicate
-
P3
-
1.4.2
-
x86
-
windows_2000
FULL PRODUCT VERSION :
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 5.00.2195 Service Pack 4
A DESCRIPTION OF THE PROBLEM :
Constant field values page is non displayed correctly if constant values are XML tags ("<!--" or "-->" and so on) because they collide with HTML tags generated by javadoc tools for aforesaid page.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a class with costants with xml values such as "<!--" or "-->" or "</HTML>", generate the javadoc for this class, load the constant-values.html file into a browser.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I would prefer to see the constants value page correctly displayed into browser.
ACTUAL -
The constant-values.html page is not correctly displayed into browser.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package test;
public class testCase
{
public static final String OPEN_CDATA = "<![CDATA[";
public static final String CLOSE_CDATA = "]]>";
public static final String XML_START_COMMENT_TAG = "<!--";
public static final String XML_END_COMMENT_TAG = "-->";
public static final String START_HTML_TAG = "<HTML>";
public static final String END_HTML_TAG = "</HTML>";
}
---------- END SOURCE ----------
###@###.### 10/25/04 08:29 GMT
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 5.00.2195 Service Pack 4
A DESCRIPTION OF THE PROBLEM :
Constant field values page is non displayed correctly if constant values are XML tags ("<!--" or "-->" and so on) because they collide with HTML tags generated by javadoc tools for aforesaid page.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a class with costants with xml values such as "<!--" or "-->" or "</HTML>", generate the javadoc for this class, load the constant-values.html file into a browser.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I would prefer to see the constants value page correctly displayed into browser.
ACTUAL -
The constant-values.html page is not correctly displayed into browser.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package test;
public class testCase
{
public static final String OPEN_CDATA = "<![CDATA[";
public static final String CLOSE_CDATA = "]]>";
public static final String XML_START_COMMENT_TAG = "<!--";
public static final String XML_END_COMMENT_TAG = "-->";
public static final String START_HTML_TAG = "<HTML>";
public static final String END_HTML_TAG = "</HTML>";
}
---------- END SOURCE ----------
###@###.### 10/25/04 08:29 GMT
- duplicates
-
JDK-5077317 Produces faulty Constant Values page if constants contain angle bracket '<'
-
- Resolved
-