PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_QuickForm » Bug #5093

XHTML Compliance

Details

Request #5093XHTML Compliance
Submitted2005-08-14 21:40 UTC
Fromrobert dot munteanu at betbrain dot com
StatusBogus
PackageHTML_QuickForm
PHP VersionIrrelevant
OSLinux 2.6
Roadmaps(Not assigned)

Comments

[2005-08-14 21:40 UTC] robert dot munteanu at betbrain dot com

Description:
------------
DB_DataObject_FormBuilder does *not* generate XHTML 1.0 compliant markup. On a simple form , two easy-to-make changes stand out:

1. the textarea element does not have the rows and cols attributes set, like required:
<!ATTLIST textarea
%attrs;
%focus;
name CDATA #IMPLIED
rows %Number; #REQUIRED
cols %Number; #REQUIRED
disabled (disabled) #IMPLIED
readonly (readonly) #IMPLIED
onselect %Script; #IMPLIED
onchange %Script; #IMPLIED
>

2. The form has the method attribute value of "POST", but the only ones allowed are post and get:
<!ATTLIST form
%attrs;
action %URI; #REQUIRED
method (get|post) "get"
name NMTOKEN #IMPLIED
enctype %ContentType; "application/x-www-form-urlencoded"
onsubmit %Script; #IMPLIED
onreset %Script; #IMPLIED
accept %ContentTypes; #IMPLIED
accept-charset %Charsets; #IMPLIED
target %FrameTarget; #IMPLIED
>