-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
1.3.0
-
sparc
-
solaris_2.6
The <INPUT TYPE = FILE> tag doesn't seem to be supported in JEditorPane.
Here is a sample file:
<!DOCTYPE HTML PUBLIC "-//HotJava QA//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Testing HotJava based on the 3.2 html spec</TITLE>
</HEAD>
<BODY bgcolor="white" >
<h1>Tests Form Element Input Type File Attribute</h1>
<h2>Definition</h2><em>type=file</em>
This provides a means for users to attach a file to the form's
contents. It is generally rendered by text field and an associated
button which when clicked invokes a file browser to select a file
name. The file name can also be entered directly in the text
field. Just like type=text you can use the size attribute to set
the visible width of this field in average character widths. You
can set an upper limit to the length of file names using the
maxlength attribute. Some user agents support the ability to
restrict the kinds of files that can be attached to ones matching
a comma separated list of MIME content types given with the ACCEPT
attribute e.g. accept="image/*" restricts files to images. Further
information can be found in RFC 1867.
<h2>Expected Result</h2>
The following Form Displays a Browse Button which when selected opens up a file
dialog <br>
And no HTML Errors are Found
<p>This form field contains input type attribute set to file
<FORM action=get>
<input type=file name=gif size=20 accept="./*">
</FORM>
</BODY>
</HTML>
edmund.lou@eng 1999-10-19
Here is a sample file:
<!DOCTYPE HTML PUBLIC "-//HotJava QA//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Testing HotJava based on the 3.2 html spec</TITLE>
</HEAD>
<BODY bgcolor="white" >
<h1>Tests Form Element Input Type File Attribute</h1>
<h2>Definition</h2><em>type=file</em>
This provides a means for users to attach a file to the form's
contents. It is generally rendered by text field and an associated
button which when clicked invokes a file browser to select a file
name. The file name can also be entered directly in the text
field. Just like type=text you can use the size attribute to set
the visible width of this field in average character widths. You
can set an upper limit to the length of file names using the
maxlength attribute. Some user agents support the ability to
restrict the kinds of files that can be attached to ones matching
a comma separated list of MIME content types given with the ACCEPT
attribute e.g. accept="image/*" restricts files to images. Further
information can be found in RFC 1867.
<h2>Expected Result</h2>
The following Form Displays a Browse Button which when selected opens up a file
dialog <br>
And no HTML Errors are Found
<p>This form field contains input type attribute set to file
<FORM action=get>
<input type=file name=gif size=20 accept="./*">
</FORM>
</BODY>
</HTML>
edmund.lou@eng 1999-10-19