-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
17
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
a valid url like "* <a href='http://svg.tutorial.aptico.de/start2.php?knr=8&kname=Text'>" is rejected by the java doc tool because of the ampersand "&". This happens (paradoxically) when the commandline option "-Xdoclint:-html" is given.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
invoke from the commandline
dir$javadoc -sourcepath . -d . -Xdoclint:-html Test.java
after putting the source file Test.java (given below) into this directory "dir"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Create documentation without any warning.
ACTUAL -
Generating ./Test.html...
Test.java:1: warning: invalid input: '&kname'
/** <a href='http://svg.tutorial.aptico.de/start2.php?knr=8&kname=Text'>
---------- BEGIN SOURCE ----------
/** <a href='http://x?knr=8&kname=Text'> link text</a> */
public class Test {}
---------- END SOURCE ----------
FREQUENCY : always
a valid url like "* <a href='http://svg.tutorial.aptico.de/start2.php?knr=8&kname=Text'>" is rejected by the java doc tool because of the ampersand "&". This happens (paradoxically) when the commandline option "-Xdoclint:-html" is given.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
invoke from the commandline
dir$javadoc -sourcepath . -d . -Xdoclint:-html Test.java
after putting the source file Test.java (given below) into this directory "dir"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Create documentation without any warning.
ACTUAL -
Generating ./Test.html...
Test.java:1: warning: invalid input: '&kname'
/** <a href='http://svg.tutorial.aptico.de/start2.php?knr=8&kname=Text'>
---------- BEGIN SOURCE ----------
/** <a href='http://x?knr=8&kname=Text'> link text</a> */
public class Test {}
---------- END SOURCE ----------
FREQUENCY : always