Solved

XHTML Transitional 1.0

Posted on 2001-09-10
8
1,548 Views
Last Modified: 2013-12-16
When using an XHTML validation website, I get this error message:



<html xmlns = default xml:lang="en" lang="en">
                ^
Error: value of fixed attribute "xmlns" not equal to default


--------------------------------------------------------------------------------

Sorry, this document does not validate as XHTML 1.0 Transitional.

If you use CSS in your document, you should also check it for validity using the W3C CSS Validation Service.


--------------------------------------------------------------------------------

Source Listing
Below is the source input I used for this validation:

   1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   2: <?xml version = "1.0"?>
   3: <!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "amc/www/DTD/xhtml1-transitional_dtd"> -->
   4:
   5:
   6: <html xmlns = default xml:lang="en" lang="en">
   7:   <head>
   

What should the xmlnamespace equal?
0
Comment
Question by:cma1
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
In XHTML all attribute values must be quoted.  Try:
<html xmlns = "default" xml:lang="en" lang="en">

Cd&
0
 

Author Comment

by:cma1
Comment Utility
This is not it. The validation engine is looking for a specific file.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
We might need some help from the experts over in XML.  You could post
a zero point question over there tehn in the question ask them to take
a look at this by giving them the link back here.

Cd&
0
 
LVL 4

Accepted Solution

by:
Gibble earned 100 total points
Comment Utility
Your document should start like this...

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 5

Expert Comment

by:raizon
Comment Utility
What Gibble has posted is what you are looking for.
0
 
LVL 4

Expert Comment

by:Gibble
Comment Utility
Why a B?  If you needed more info you should have asked.
0
 

Author Comment

by:cma1
Comment Utility
Nice work, Gibble
0
 
LVL 4

Expert Comment

by:Gibble
Comment Utility
But why a B?  I am just curious?
Did I not solve your problem?
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn how to dynamically set the form action using jQuery.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now