W3C home > Mailing lists > Public > www-validator@w3.org > May 2008

Re: "snapshot" XHTML DTD for all current modules?

From: Karl Dubost <karl@w3.org>
Date: Tue, 6 May 2008 18:31:36 +0900
Cc: W3C Validator Community <www-validator@w3.org>, Felix Sasaki <fsasaki@w3.org>
Message-Id: <534D7FE4-7209-41FC-8D31-C067000F1537@w3.org>
To: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>


Le 6 mai 2008 à 18:11, Frank Ellermann a écrit :
>> As far as checking tools are concerned: I would like a way
>> for a tool to say “your document (may not be strictly
>> conforming foo but it) is properly using mixed features
>> from the XHTML family.”
>
> Maybe you can identify a subset where that could still work.


To clarify, a bit more, because it started with a discussion I  
initiated in the office yesterday with olivier ;)

The goal would be to have a way to check if a document which looks  
like part of XHTML family could be checked for syntax and structure.  
Let's take a concrete example:

<html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:its="http://www.w3.org/2005/11/its"
       xmlns:aria="http://www.w3.org/2005/07/aaa"
       xmlns:cal="http://www.w3.org/2002/12/cal/ical#"
       xml:lang="en">
  <head>

   <its:rules version="1.0" xmlns:h="http://www.w3.org/1999/xhtml">
    <its:translateRule selector="//h:meta[@name='keywords']/@content"
     translate="yes" />
    <its:termRule selector="//h:span[@class='term']" term="yes" />
   </its:rules>

    <title>Experimental XHTML document</title>

  </head>

  <body>
   <h1>Test of ITS on <span class="term">XHTML</span></h1>
   <p>Some text to translate.</p>
   <p its:translate="no">Some text not to translate.</p>

   <h2 class="nav" id="leftnav_label">Foo Services</h2>

    <ul title="Foo Services" role="navigation" aria- 
labelledby="leftnav_label">
       <li><a href="/">Home</a></li>
    </ul>

   <p instanceof="cal:Vevent">
      <span property="cal:summary">one last summer Barbecue,</span>
      on <span property="cal:dtstart"  
content="20070916T1600-0500">September 16th at 4pm.</span>
   </p>


  </body>
</html>

-- 
Karl Dubost - W3C
http://www.w3.org/QA/
Be Strict To Be Cool
Received on Tuesday, 6 May 2008 09:32:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:29 GMT