-
Bug
-
Resolution: Unresolved
-
P5
-
None
-
6u10
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The createInputComponent method checks the type of html input to create diiferent types of input e.g. text, radio, check box.
However this check is case sensitive.
From code
=======
if (type.equals("text")) {
..
}
===
When the html input tag contains type in upper case
e.g. <INPUT TYPE="TEXT" maxlength="3" size="3" value="099" >
this API returns null since the check is case sensitive.
http://java.sun.com/javase/6/docs/api/javax/swing/text/html/FormView.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
createInputComponent should do case insensitive check of type.
ACTUAL -
createInputComponent does case sensitive check.
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The createInputComponent method checks the type of html input to create diiferent types of input e.g. text, radio, check box.
However this check is case sensitive.
From code
=======
if (type.equals("text")) {
..
}
===
When the html input tag contains type in upper case
e.g. <INPUT TYPE="TEXT" maxlength="3" size="3" value="099" >
this API returns null since the check is case sensitive.
http://java.sun.com/javase/6/docs/api/javax/swing/text/html/FormView.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
createInputComponent should do case insensitive check of type.
ACTUAL -
createInputComponent does case sensitive check.
REPRODUCIBILITY :
This bug can be reproduced always.