- From: Armin <alpha-nbg@gmx.de>
- Date: Tue, 10 Mar 2009 22:56:05 +0100
- To: html-tidy@w3.org
Hello, why does tidy dont report an error or a warning if i've forgotten the quotes at an attribute. At the example below i've leaved the quotes at: method=post <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> <head> <title> new document </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="editplus" /> <meta name="author" content="" /> <meta name="keywords" content="" /> <meta name="description" content="" /> </head> <body> <form method=post action=""> </form> </body> </html> that is not allowed with xhtml 1.0 But Tidy (HTML Tidy for Windows released on 14 October 2008) reports no warning, and no error. --------------------------------------------------------------------- Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" Info: Document content looks like XHTML 1.0 Strict No warnings or errors were found. --------------------------------------------------------------------- If i use the -m option the error will be corrected at my document. But i don't want that. How can i configure tidy so that i get an error message by missing quotes? Configuration File Settings: Name Type Current Value =========================== ========= ======================================== accessibility-check enum 0 (Tidy Classic) add-xml-decl Boolean no add-xml-space Boolean no alt-text String anchor-as-name Boolean yes ascii-chars Boolean no assume-xml-procins Boolean no bare Boolean no break-before-br Boolean no char-encoding Encoding ascii clean Boolean no css-prefix String decorate-inferred-ul Boolean no doctype DocType auto doctype-mode Integer *1 drop-empty-paras Boolean yes drop-font-tags Boolean no drop-proprietary-attributes Boolean no enclose-block-text Boolean no enclose-text Boolean no error-file String escape-cdata Boolean no fix-backslash Boolean yes fix-bad-comments Boolean yes fix-uri Boolean yes force-output Boolean no gnu-emacs Boolean no gnu-emacs-file String hide-comments Boolean no hide-endtags Boolean no indent AutoBool no indent-attributes Boolean no indent-cdata Boolean no indent-spaces Integer 2 input-encoding Encoding latin1 input-xml Boolean no join-classes Boolean no join-styles Boolean yes keep-time Boolean no language String literal-attributes Boolean no logical-emphasis Boolean no lower-literals Boolean yes markup Boolean yes merge-divs AutoBool auto merge-spans AutoBool auto ncr Boolean yes new-blocklevel-tags Tag names new-empty-tags Tag names new-inline-tags Tag names new-pre-tags Tag names newline enum CRLF numeric-entities Boolean no output-bom AutoBool auto output-encoding Encoding ascii output-file String output-html Boolean no output-xhtml Boolean no output-xml Boolean no preserve-entities Boolean no punctuation-wrap Boolean no quiet Boolean no quote-ampersand Boolean yes quote-marks Boolean no quote-nbsp Boolean yes repeated-attributes enum keep-last replace-color Boolean no show-body-only AutoBool no show-errors Integer 6 show-warnings Boolean yes slide-style String sort-attributes enum none split Boolean no tab-size Integer 8 tidy-mark Boolean yes uppercase-attributes Boolean no uppercase-tags Boolean no vertical-space Boolean no word-2000 Boolean no wrap Integer 68 wrap-asp Boolean yes wrap-attributes Boolean no wrap-jste Boolean yes wrap-php Boolean yes wrap-script-literals Boolean no wrap-sections Boolean yes write-back Boolean no Values marked with an *asterisk are calculated internally by HTML Tidy regards, Armin -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
Received on Thursday, 12 March 2009 12:27:56 UTC