dekomote / w3cvalidate.vim

W3cValidate.vim is a plugin that enables buffer/url validation using the http://validator.w3.org api
6 stars 0 forks source link

Cannot validate CSS files #2

Closed yargy closed 10 years ago

yargy commented 10 years ago

Hi I am just trying out your vim plugin and when I try to validate a CSS file it seems to think it is a HTML File.

The Document is INVALID

Type: Error | Line: 1 | Column: 1 No document type declaration; will parse without validation The document type could not be determined, because the document had no correct DOCTYPE declaration. The document does not look like HTML, therefore automatic fallback could not be performed, and the document was only checked against basic markup syntax.Learn how to add a doctype to your document from our FAQ, or use the validator's option to validate your document against a specific Document Type.

Type: Error | Line: 1 | Column: 544 Character data is not allowed here You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include: Empty elements in SGML, HTML, XML, and XHTML.

dekomote commented 10 years ago

The w3c validator only validates HTML.