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

Good clarification Karl.  Remember that the whole point of XHTML M12N is 
so you can create hybrid markup languages in DTD or XML Schema 
relatively easily.  It would be trivial to create DTD that included 
whatever you want, really.  However, aria-* is NOT in the xhtml 
namespace (yet), and I don't know of a M12N conforming module for ITS. 

That aside, I question the basic premise.  Validation is about ensuring 
that documents conform to a document type.  Just because you can craft a 
random document type does not mean a user agent is going to know what to 
do with the content, regardless of whether it is valid or not.

I would be happy to create a new markup language that included all the 
cool new features we are developing...  @role, @access, xml events 2, 
xforms, aria.  Whatever.  But a valid document isn't actually going to 
do what an author expects.  Why is that useful?

Karl Dubost wrote:
>
>
> 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>
>

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Received on Tuesday, 6 May 2008 13:23:05 UTC