Link to home
Start Free TrialLog in
Avatar of cma1
cma1

asked on

XHTML Transitional 1.0

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?
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

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

Cd&
Avatar of cma1
cma1

ASKER

This is not it. The validation engine is looking for a specific file.
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&
ASKER CERTIFIED SOLUTION
Avatar of Gibble
Gibble

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What Gibble has posted is what you are looking for.
Why a B?  If you needed more info you should have asked.
Avatar of cma1

ASKER

Nice work, Gibble
But why a B?  I am just curious?
Did I not solve your problem?