- From: Jelks Cabaniss <jelks@jelks.nu>
- Date: Sat, 29 Jul 2000 15:47:32 -0400
- To: <html-tidy@w3.org>
Ken Chandler wrote:
> The proper public IDs for XHTML (the XML implementation of HTML) are:
>
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "DTD/xhtml1-strict.dtd">
>
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "DTD/xhtml1-transitional.dtd">
>
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
> "DTD/xhtml1-frameset.dtd">
Those are actually incorrect. Yes, I know that's what it says in the
Recommendation, but it's a misprint. It *should* be corrected soon, or so I've
heard. The only ways those would work with a validating XML parser is if you
have a subdirectory of your current directory called "DTD". The real
declarations should read:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
/Jelks
Received on Saturday, 29 July 2000 15:50:29 UTC