This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6738 - Invalid cause for error in <textarea>
Summary: Invalid cause for error in <textarea>
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://www.dcawebdesign.com/contact.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 16:30 UTC by ed definis
Modified: 2009-06-30 04:51 UTC (History)
0 users

See Also:


Attachments

Description ed definis 2009-03-26 16:30:30 UTC
Validator for XHTML Transitional 1.0, for iso-8859-1 is rejecting XHTML script due to "wrap=" tag within <textarea> statement.  Actual script reads as follows:

<textarea name="i_MESSAGE" id="i_MESSAGE" onkeypress="return taLimit(event)" onkeyup="return taBackspace(event)" rows="5" cols="40" wrap="physical"></textarea><br />

According to O'Reilly's Definitive Guide for HTML/XHTML, 5th edition, page 338, the "wrap" parameter is a valid tag within the <textarea> and should accept wrap="off", wrap="physical" and wrap="virtual" as valid parameters.

However, the W3c Validator Error Message reads:

Line 141, Column 143: there is no attribute "wrap".
pace(event)" rows="5" cols="40" wrap="physical"></textarea><br />

Your clarification on this matter would be appreciated.  Thank you.

Ed DeFinis
ed@dcawebdesign.com
Comment 1 Ville Skyttä 2009-06-30 04:51:13 UTC
(In reply to comment #0)
> According to O'Reilly's Definitive Guide for HTML/XHTML, 5th edition, page 338,
> the "wrap" parameter is a valid tag within the <textarea> and should accept
> wrap="off", wrap="physical" and wrap="virtual" as valid parameters.

This is incorrect information, there is no such attribute for textarea in XHTML 1.0 (nor any other W3C HTML recommendation if I remember correctly).
http://www.w3.org/TR/xhtml1/dtds.html