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 14872 - Mobile Validator reports invalid html with named forms
Summary: Mobile Validator reports invalid html with named forms
Status: NEW
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 critical
Target Milestone: ---
Assignee: fd
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 06:51 UTC by a11526433
Modified: 2012-10-26 19:24 UTC (History)
1 user (show)

See Also:


Attachments

Description a11526433 2011-11-18 06:51:23 UTC
When attempting to use the mobile validator(http://validator.w3.org/mobile) to validate a XHTML Basic 1.1 page for compliance and the page contains a form element with a name tag, the validator reports the page does not validate against the XHTML Basic 1.1 doctype. However when validating the same page against the regular validator(http://validator.w3.org/), it reports the page is valid XHTML Basic 1.1. Here is some sample code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Bla Bla Bla</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
</head>
<body>
<p>some more text.</p>
<form action="index.php" method="post" name="whatever">
<fieldset>
<label for="inputtext">></label><input type="text" name="inputtext" id="inputtext" accesskey="1" />
<input type="submit"  value="enter" accesskey="2" />
</fieldset>
</form>
</body>
</html>

Link to test: http://validator.w3.org/mobile/check?task=2011111806502172.mobile2&docAddr=directinput%3A%2F%2F0%2F