Does anyone have a validation schema for Visual Studio 2010 for XHTML+RDFa?

Visual Studio validates XHTML 1.0 Transitional by default. There are custom solutions for validating HTML5. But if you are writing a site that uses any part of the Facebook API or the meta property tags then your HTML is probably invalid. Most people don't know to change their DOCTYPE to this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">

What I'd like to know is, does anyone have a way to get Visual Studio 2010 to recognize RDFa like someone hacked it for HTML5?


I do not know if this contains what you need but you could give it a spin...

There is an update/addon for html5 webstandards

http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83 http://vishaljoshi.blogspot.com/2011/06/announcing-html5-css3-support-for.html

链接地址: http://www.djcxy.com/p/69686.html

上一篇: FB元标记+ iframe的W3C验证问题

下一篇: 有没有人有适用于XHTML + RDFa的Visual Studio 2010的验证模式?