473,652 Members | 3,045 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XHTML 1.1 Compliance

I'm having trouble getting the w3c validator to validate some code as XHTML
1.1 compliant so I though I'd seek help. The validator doesn't give me any
error messages for this code, it just tells me it isn't compliant. I realize
it's not that nice to look at, but it's generated by a php script and trying
to make the html look nicer would make the script look worse.

<?xml version="1.0" encoding="iso-8859-1">
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>SY MLOG
</title></head>
<body>

<form action="/index.php" method="post">
<table border="1"><tr> <th></th>
<th align="center"> jim</th><th align="center"> joe</th><th align="center">
bob</th></tr>
<tr><td>1. Active, dominant, talks a lot</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>2. Extroverted, outgoing, positive</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>3. A purposeful, democratic task leader</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>4. An assertive bussiness-like leader</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>5. Authoritarian, controlling, disapproving</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>6. Domineering, tough-minded, powerful</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>7. Provocative, egocentric, shows off</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>8. Jokes around, expressive, dramatic</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>9. Entertaining, sociable, smiling, warm</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>10. Friendly, equalitarian</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>11. Works cooperatively with others</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>12. Analyitical, task-oriented, problem-solving</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>13. Legalistic, has to be right</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>14. Unfriendly, negativistic</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>15. Irritable, cynical, won't cooperate</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>16. Show feelings and emotions</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>17. Affectionate, likable, fun to be with</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>18. Looks up to others, appreciative, trustful</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>19. Gentle, willing to accept responsibility</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>20. Obedient, works submissively</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>21. Self-punishing, works too hard</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>22. Depressed, sad, resentful, rejecting</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>23. Alienated, quiet, withdraws</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>24. Afraid to try, doubts own ability</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>25. Quietly happy just to be with others</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
<tr><td>26. Passive, introverted, says little</td>
<td align="center"> <input type="text" size="1" maxlength="1"
name="scores[jim][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
joe][]" /></td>
<td align="center"> <input type="text" size="1" maxlength="1" name="scores[
bob][]" /></td>
</tr>
</table>
<div>
<input type="hidden" name="data_ente red" />
<input type="hidden" name="names" value="jim, joe, bob" />
<input type="submit" />
</div></form>
<p> <a href="http://validator.w3.or g/check/referer"><img
src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1!"
height="31" width="88" /></a> </p>
</body>
</html>
Jul 20 '05 #1
6 2337
Wow that's extra bad, not sure what happened there, it didn't look quite
that awful before.
Jul 20 '05 #2
NotALamer wrote:
I'm having trouble getting the w3c validator to validate some code as
XHTML 1.1 compliant so I though I'd seek help.
Okay, but bear in mind it's against spec. to serve XHTML 1.1 as text/html
(thus excluding Internet Explorer from viewing your pages). You'll
probably want to go to XHTML 1.0, following Appendix C for pages meant for
the WWW.

The validator doesn't give me any error messages for this code, it just
tells me it isn't compliant.

[snip]

It looks like a bug in the validator. Send a report to the www-validator
mailing list:

<URL:http://validator.w3.or g/feedback.html>

PS: It's preferrable to send a URL to a testcase, not paste code in. People
can't point the validator to pasted in code.

--
Jim Dabell

Jul 20 '05 #3
Sorry about that, I would have but I didn't have anywhere to host it. I've
been writing it on a system that's connected with dialup so it wouldn't be
there long if I hosted here.

"Jim Dabell" <ji********@jim dabell.com> wrote in message
news:37******** ************@gi ganews.com...
NotALamer wrote:
I'm having trouble getting the w3c validator to validate some code as
XHTML 1.1 compliant so I though I'd seek help.
Okay, but bear in mind it's against spec. to serve XHTML 1.1 as text/html
(thus excluding Internet Explorer from viewing your pages). You'll
probably want to go to XHTML 1.0, following Appendix C for pages meant for
the WWW.

The validator doesn't give me any error messages for this code, it just
tells me it isn't compliant.

[snip]

It looks like a bug in the validator. Send a report to the www-validator
mailing list:

<URL:http://validator.w3.or g/feedback.html>

PS: It's preferrable to send a URL to a testcase, not paste code in.

People can't point the validator to pasted in code.

--
Jim Dabell

Jul 20 '05 #4
In article <3f******@bucka roo.cs.rit.edu> , one of infinite monkeys
at the keyboard of "NotALamer" <ba*****@cs.rit .edu> wrote:
I'm having trouble getting the w3c validator to validate some code as XHTML
1.1 compliant
Why XHTML 1.1? Get rid of the presentational junk (align and border -
not too serious but far too many of them) and make proper use of
<th> and the scope attribute, and you have a good XHTML 1.0 table.
By using 1.1 you're excluding a majority of web users.
error messages for this code, it just tells me it isn't compliant.
Can you put that at a URL where we can see the problem?
Don't Page Valet or the WDG Validator give you a full report?
(chop - far, far too much code to post here; don't do it again)


--
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Jul 20 '05 #5
Jim Dabell wrote:
Okay, but bear in mind it's against spec. to serve XHTML 1.1 as text/html
Not exactly. There's a W3C Note about the subject, but it's not
explicitly stated in the XHTML 1.1 spec.
(thus excluding Internet Explorer from viewing your pages).


And to think, some people still resort to server-side scripting or URL
rewriting for that.
Jul 20 '05 #6
On Thu, 16 Oct 2003 21:13:09 +0000, Keith Bowes <do****@spam.me >
wrote:
Jim Dabell wrote:
Okay, but bear in mind it's against spec. to serve XHTML 1.1 as text/html


Not exactly. There's a W3C Note about the subject, but it's not
explicitly stated in the XHTML 1.1 spec.


There's nowhere in the XHTML 1.1 which says that text/html is
allowable for XHTML 1.1 either, or that text/plain is. Also XHTML 1.0
states that only Appendix C. compatible XHTML may be served as
text/html and for many documents (all that have followed wcag
guidelines) it is impossible to be both Appendix C and XHTML 1.1

Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/

Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

119
4578
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see, http://www.alistapart.com/articles/betterliving/ I read on http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/netfxcompat.asp It said they changed stuff like this
0
8279
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8811
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8589
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4145
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2703
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.