Re: Test 0303 / HTML4

On May 22, 2013, at 7:29 AM, Alex Milowski <alex@milowski.com> wrote:

> Again, the @version attribute in this test forces the processor into XHTML+RDFa 1.1 mode regardless of being served up as text/html:

I went ahead and changed the code which generates the HTML4 tests to set @version to "HTML+RDFa 1.1", as this is the appropriate specification for HTML4 documents. Clear your cache and see if this resolves this particular issue.

Gregg

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
> <html version="XHTML+RDFa 1.1">
> <head>
>   <title>Test 0303: @rel/@rev terms removed if @property exists</title>
> </head>
> <body>
>   <div vocab="http://schema.org/" resource="http://example.org/base">
>     <a property="uri" rel="license" href="http://example.orb/val1">Not This</a>
>     <a property="name" rel="homepage foaf:homepage" href="http://greggkellogg.net/">Gregg Kellogg</a>
>   </div>
> </body>
> </html>
> 
> I don't think this should be listed for the HTML4 tests.  Or, there needs to be a variant without the @version attribute.
> 
> -- 
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
> 
> Bertrand Russell in a footnote of Principles of Mathematics

Received on Thursday, 23 May 2013 18:23:13 UTC