473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Validator problem

I've just started a book course"HTML, Complete Course" from Seybold. It has
a confidence builder section which I did and it worked fine. But the actual
tutorial section at the beginning of the course is the problem. Ive typed in
the code and it comes up in the browser, but when I tery to validate it, it
fails on .....
Sorry, this type of URL scheme (file) is not supported by this service.
Please check that you entered the URL correctly.

URLs should be in the form: http://validator.w3.org/

If you entered a valid URL using a scheme that we should support, please let
us know as outlined on our Feedback page. Make sure to include the specific
URL you would like us to support, and if possible provide a reference to the
relevant standards document describing the URL scheme in question.

Remember that you can always save the page to disk and Validate it using the
File Upload interface.

Incomplete support for SSL and TLS is a known limitation and is being
tracked as Issue #77.

And if I try the file upload service I get.......

File: basic.html
Encoding: utf-8
Doctype: -//W3C//DTD XHTML 1.0 Transitional/EN
Errors: 1
Note:
The Validator XML support has some limitations.
This page is not Valid -//W3C//DTD XHTML 1.0 Transitional/EN!
Below are the results of attempting to parse this document with an SGML
parser.

1.. Line 3, column 12: there is no attribute "xlmns"

<html xlmns="http://www.w3.org/1999/xhtml">

You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element. This
error is often caused by incorrect use of the "Strict" document type with a
document that uses frames (e.g. you must use the "Transitional" document
type to get the "target" attribute), or by using vendor proprietary
extensions such as "marginheight" (this is usually fixed by using CSS to
achieve the desired effect instead).

This error may also result if the element itself is not supported in the
document type you are using, as an undefined element will have no supported
attributes; in this case, see the element-undefined error message for
further information.

How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both allowed
in the chosen document type, and/or use CSS instead of this attribute.

2.. Yet I have typed all in correctly,,,oh sorry about the links.


Jul 23 '05 #1
3 5023
Neal wrote:
I've just started a book course"HTML, Complete Course" from Seybold. It has
a confidence builder section which I did and it worked fine. But the actual
tutorial section at the beginning of the course is the problem. Ive typed in
the code and it comes up in the browser, but when I tery to validate it, it
fails on .....
The Validator XML support has some limitations.
This page is not Valid -//W3C//DTD XHTML 1.0 Transitional/EN!
Below are the results of attempting to parse this document with an SGML
parser.

1.. Line 3, column 12: there is no attribute "xlmns"

<html xlmns="http://www.w3.org/1999/xhtml">


Your problem appears to be that you are confusing HTML with xHTML. I
think you will find that xlmns is a valid attribute only for xHTML.
Jul 23 '05 #2
Neal wrote:
Sorry, this type of URL scheme (file) is not supported by this
service.
I think that's self-explanatory: don't use the file scheme. Upload
instead.

[snip]
<html xlmns="http://www.w3.org/1999/xhtml">


The attribute is xmlns (XML namespace). Either you typed it
incorrectly or the book contains a typo.

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #3
Neal wrote:
Sorry, this type of URL scheme (file) is not supported by this service.
Well yes - the validator can't reach in to your hard disk and grab a file
from it. You have to send the file to the validator, or run a server it can
ask for it.
1.. Line 3, column 12: there is no attribute "xlmns"
There isn't. Its "xmlns".
How to fix: check the spelling


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #4

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

Similar topics

5
by: johnleemk | last post by:
I download the source for W3C's validator from http://validator.w3.org/source/ to validate pages on my own server. I commented a block of code that checks for non-public hosts so the validator...
0
by: Tom Pearson | last post by:
I create controls and validators dynamically dependent on data at runtime. I create the control then the relevant validator(s) for it assigning the Control.ID as the control to validate. These...
8
by: Spartanicus | last post by:
The document at http://homepage.ntlworld.com/spartanicus/custom_dtd.htm uses a custom DTD, the w3c validator validates it but with this warning: "Unknown Parse Mode! The MIME Media Type...
2
by: VSK | last post by:
Hi all, I have a .ascx file with dropdownbox (SSN, EmpName) textbox submit button regular expression validator( controltovalidate is the above textbox) Now i want to change the Regular...
0
by: TN Bella | last post by:
Hi, I am trying to get my compare validator to fire properly...Since I have panels the validator wouldn't work properly, the app would fire right but would insert the data regardless and the...
3
by: Angelos Karantzalis | last post by:
Hi guys, I've a small problem with validators. I'm building a single .aspx file that handles all my form posts. I need to be using ASP.NET validators ( or subclasses thereof ), so what i do to...
8
by: pmud | last post by:
Hi, I am using a compare validator in asp.net application(c# code). This Custom validator is used for comparing a value enterd by the user against the primary key in the SQL database. IF the...
4
by: Alan Silver | last post by:
Hello, I have a site that produces 100% valid XHTML 1.0 Strict when viewed in a browser (IE, Firefox, etc). I just tried validating the site with an on-line validator, and got several errors. ...
0
by: Gonza | last post by:
Hi group, i'm trying to add a customvalidator control to a custom web control. The problem is i'm getting a "Unable to find control id..." exception. Here is the code: public class CuitTextBox :...
37
by: Prisoner at War | last post by:
Actually, it doesn't have to be a blockquote...but I'm at my wits' end: I want to make bold several lines of text which have a pair of <br /tags between them...seems like the <b></bdo not "carry...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.