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-transi tional_dtd "> -->
4:
5:
6: <html xmlns = default xml:lang="en" lang="en">
7: <head>
What should the xmlnamespace equal?
<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-transi
4:
5:
6: <html xmlns = default xml:lang="en" lang="en">
7: <head>
What should the xmlnamespace equal?
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&
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What Gibble has posted is what you are looking for.
Why a B? If you needed more info you should have asked.
ASKER
Nice work, Gibble
But why a B? I am just curious?
Did I not solve your problem?
Did I not solve your problem?
<html xmlns = "default" xml:lang="en" lang="en">
Cd&