Package: w3c-dtd-xhtml Version: 1.1-5
I think that this is a bug because transitional xhtml 1.0 pages are correctly validated. I receive an error message validating a xhtml 1.0 FRAMESET web page. The same page is correctly validated with the online w3c validator. The error message i receive is the following: Sorry! This document can not be checked. Fatal Error: cannot find "/usr/share/xml/shtml/schema/dtd/1.0/xhtml1-frameset.dtd"; tried I could not parse this document, because it makes reference to a system-specific file instead of using a well-known public identifier to specify the type of markup being used. You should place a DOCTYPE declaration as the very first thing in your HTML document. For example, for a typical XHTML 1.0 document: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Title</title> </head> <body> <!-- ... body of document ... --> </body> </html> The strange thing is that the path /usr/share/xml/shtml doesn't exist. I think that the correct one is /usr/share/xml/xhtml. If I duplicate the existing xhtml folder in shtml then i'm able to validate the page. This is my web page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it"> <head> <meta name="DC.Title" content="Il titolo"/> <meta name="description" content="La descrizione della pagina"/> <meta name="keywords" content=" le parole chiave separate da virgole"/> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/> <title>No Title</title> </head> <frameset cols="170, *"> <frame noresize="noresize" frameborder="0" name="menu" id="menu" src="menu.html" /> <frame noresize="noresize" frameborder="0" name="corpo" id="corpo" src="corpo.html" /> <noframes> <body> <p>Spiacente. Il tuo browser non supporta i frames</p> </body> </noframes> </frameset> </html> -- System Information: Debian squeeze 6.0.4 Kernel Linux 2.6.32-5-686 w3c-markup-validator 0.7.4-5.2 apache2 2.2.16-6+squeeze6 Locale LANG=it_IT.UTF-8, LC_CTYPE="it_IT.UTF-8" Versions of packages w3c-dtd-xhtml depends on: ii sgml-base 1.26+nmu1 ii sgml-data 2.0.4 ii xml-core 0.13 -- no debconf information Best regards Iam.