473,734 Members | 2,647 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Transition al" document
type to get the "target" attribute), or by using vendor proprietary
extensions such as "marginheig ht" (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 5044
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
2322
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 would let me check http://localhost but then i ran into a roadblock. The validator claimed my pages weren't valid. No problem. However, it wouldn't say what the errors where. I tried this by checking a known invalid remote site. Same result. Then I...
0
2233
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 controls and validators are then added to a table for display to the user. This code did seem to work originally, but now does not amd I am stumped as to why. There have been some code changes, but not to the methods below and I have pretty much...
8
7420
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 (text/html) for this document is used to serve both SGML and XML based documents, and it is not possible to disambiguate it based on the DOCTYPE Declaration in your document. Parsing will continue in SGML mode."...
2
2943
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 Expression of the validator based on the
0
1626
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 user couldn't fix an error if they had an error. So I added another sub and fixed the panels, but the compare validator still doesn't work right. Right now the validator pops up with the error that the two values (txtAcctAmtSum and txtInvAmt) are...
3
1672
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 overcome the fact that i don't really know what sort of input controls I'm working with is this: 1) I've got the form description in xml, so I know all the fields I'm
8
7836
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 VALUE ENTERED BY THE USER EXISTS IN THE DB , then THE ERROR MESSAGE OF THE COMPARE VALIDATOR SHOULD BE DISPLAYED. For this, I used the reference artiicle "http://msdn.microsoft.com/library/default.asp?url=/library/en-...
4
1285
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. It seems that the framework is sending the validator down-level code, as it assumes that the validator is a down-level browser. Is there any way to stop this? At the moment, anyone checking it (which
0
1102
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 : WebControl { protected override void OnInit(EventArgs e) {
37
3670
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 over" when there are <br /tags involved...??? I've tried using <p style="font-weight: bold;"></p>, I've tried <blockquote></blockquote>...I just can't figure how I'm supposed to get the <b></btags to work for all the lines! Surely there must be...
0
8946
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8776
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
9449
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
9310
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
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
4550
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...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2724
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.