473,508 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

validation puzzle ("OMITTAG NO" error)

kj


Here's a puzzle I can't figure out.

I visited the page http://validator.w3.org, and confirmed that it
validates itself.

Then I *saved* it to my docroot directory using my browser's save-as
function, and then tried to submit this saved page for validation.
Now it generates 17 errors, of the form:

end tag for "link" omitted, but OMITTAG NO was specified.

I can't understand why the saved version of the same page produces
this error. The page I saved can be seen here:

http://www.panix.com/~kynn/v/

As you can see, it looks pretty much the same as the original.
I've also compared the source for both pages (using the browser's
show-source command), and I can't see any significant difference.

What's going on?

OK, here's a second question, a more important one, in a way. I
have 3 books on HTML, and not one of them has helped me at all with
this question. There are a zillion books on HTML in the market.
Among these, which one would have helped me with this question? In
other words, next to the W3C specs (which I find very difficult to
read somehow), what's the "bible" of HTML? The book that would
cover even obscure problems like this one?

Thanks!

kj
--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.
Apr 28 '06 #1
2 11725
Els
kj wrote:
Here's a puzzle I can't figure out.

I visited the page http://validator.w3.org, and confirmed that it
validates itself.

Then I *saved* it to my docroot directory using my browser's save-as
function, and then tried to submit this saved page for validation.
Now it generates 17 errors, of the form:

end tag for "link" omitted, but OMITTAG NO was specified.

I can't understand why the saved version of the same page produces
this error. The page I saved can be seen here:

http://www.panix.com/~kynn/v/

As you can see, it looks pretty much the same as the original.
Pretty much isn't good enough.
The original has this:
<link rev="made" href="mailto:ww***********@w3.org" />
Your has this:
<link rev="made" href="mailto:ww***********@w3.org">

The difference is the slash at the end, which causes the error.
I've also compared the source for both pages (using the browser's
show-source command), and I can't see any significant difference.
Need to look closer then ;-)
OK, here's a second question, a more important one, in a way. I
have 3 books on HTML, and not one of them has helped me at all with
this question. There are a zillion books on HTML in the market.
Among these, which one would have helped me with this question?
Probably any of them. You just need to understand the difference
between XHTML and HTML.
In
other words, next to the W3C specs (which I find very difficult to
read somehow), what's the "bible" of HTML? The book that would
cover even obscure problems like this one?


It's not an obscure problem, and for me the specs are good enough ;-)

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
Apr 28 '06 #2
On 28/04/2006 16:58, kj wrote:
I visited the page http://validator.w3.org, and confirmed that it
validates itself.

Then I *saved* it to my docroot directory using my browser's save-as
function, and then tried to submit this saved page for validation.
Now it generates 17 errors, of the form:

end tag for "link" omitted, but OMITTAG NO was specified.
The validator interface has been written as Appendix C XHTML, served as
HTML. When your browser saved it, it removed the slashes that form
empty-element start-tags. For example, in the original:

<link rev="made" href="mailto:ww***********@w3.org" />

In your saved version:

<link rev="made" href="mailto:ww***********@w3.org">

As elements must be closed in XML documents, the validator complains
about the latter, as well as the other link, meta, img, br, and input
elements.

If you change the document type to HTML 4.01 Strict, remove the prolog,
and the xml:lang and xmlns attributes, the errors should disappear.

[snip]
[...] what's the "bible" of HTML? The book that would cover even
obscure problems like this one?


Sorry. I wouldn't know.

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Apr 28 '06 #3

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

Similar topics

4
1329
by: Carl | last post by:
This is perhaps a very simple and stupid question! How do you run a specific function (with actual values for the parameters) within a module from the command prompt? That is, with "python ..." ...
6
14297
by: Web Developer | last post by:
Hi, I come across the term "type checking" very often in my readings on C++, and have never heard it in Java. Besides the simplistic answer that it checks the "type", what more does it mean? ...
4
7099
by: TonyJeffs | last post by:
<SCRIPT language="JavaScript"> function anna18(){ window.open ("Slideshow/anna18.htm","","scrollbars=no,fullscreen=yes") } </SCRIPT> Why does the above still have a scrollbar? The actual web...
2
5332
by: edgarjang | last post by:
In JavaScript, I can hide menu bar ( ex) <html> <SCRIPT LANGUAGE="JavaScript"> function Test() { var win = window.open("test2.html","sale","menubar=no,scrollbars=no,width=780,height=5...
43
3053
by: Christoph Schneegans | last post by:
Hi! Okay, so positions on "text/html" XHTML are totally contradicting. Anyway! I hope there's more consensus about "application/xml" XHTML. I've recently learned that Opera 9.0b2 does not only...
1
2261
by: craigkenisston | last post by:
I can't believe what is happening on my computer right now. I have a web project, file-system based on something like c:\Projects\ProjectX\www\. I had to make some changes and testing in a...
1
6952
by: Ronen Yacov | last post by:
Hi There, I've using IE 7.0.5730.11 on Windows XP. I want to open a pop up using javascript without showing the status bar, and to do so I use the function: function openwindow() {...
1
4223
by: robtyketto | last post by:
Greetings, For my DESKTOP application I have more than one exit button where I would like the user to be prompted to confirm they really wish to exit. Much like in VBA with msgbox VbYesNo...
1
3737
by: =?Utf-8?B?U3RldmUgQmVobWFu?= | last post by:
I am using Visual C++ 8.0 Express Edition. On certain events I would like to pop up the standard "Yes/No" dialog -- is this possible and, if so, how is this done?
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7120
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...
0
7323
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,...
0
7494
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...
1
5050
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...
0
4706
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...
0
3192
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...
0
1553
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 ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.