brackets-w3cvalidation icon indicating copy to clipboard operation
brackets-w3cvalidation copied to clipboard

Switching between new and old validation API

Open pmmtch opened this issue 10 years ago • 6 comments

Hi and thanks for your work so far, I think the new validation API is very good for HTML5 but not so good for e-mails. Those are very good validated by the old one. The new not so due to the XHTML1.0 nature of e-mail templates. I would love to see both API with something to switch them in the GUI. Would be nice if you could implement that!

Thank you very much and best regards,

Perez

pmmtch avatar Jun 10 '15 13:06 pmmtch

i think i'm having the same issue.

i noticed that when i updated a few days ago, that my email template no longer validated. for emails i'm using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

seeing "use css instead" isn't helpful when debugging emails.

before the update it worked perfectly.

bchavezgd avatar Jun 11 '15 21:06 bchavezgd

Is the new html5.validator.nu check the same as validator.w3.org? If not perhaps a plugin name change is in order ?

ieWatch avatar Jun 17 '15 08:06 ieWatch

It should be - it is what the docs led me to.

cfjedimaster avatar Jun 21 '15 02:06 cfjedimaster

I too code for e-mail and would like to be able to switch it back. I know the code for e-mail is obsolete but getting that as an error doesn't help me to actually validate.

KiereKat avatar Jul 27 '15 17:07 KiereKat

Unfortunately, you can't really use UI to switch validators. The Brackets Linting API doesn't allow for that. In theory, you could use a preference and make it so you could switch by editing it, but you couldn't go back and forth via some UI thing.

cfjedimaster avatar Jul 27 '15 18:07 cfjedimaster

The version of this extension that validates XHTML 1.0, is version 2.1.9. It can be downloaded here

1951FDG avatar Nov 06 '15 19:11 1951FDG