RE: Comment on ITS 2.0 WD-its20-20121206 - Inline global rules in XHTML

Here is an example of XHTML5:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Example</title>
  <meta charset="UTF-8" />
 </head>
 <body>
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
   <text x="0" y="15" fill="red" transform="rotate(30 20,40)">I love ITS 2.0</text>
  </svg>
 </body>
</html>

I assume with the current draft, to specify some storage size properties we would do this:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
 <head>
  <title its-storage-size="10">Example</title>
  <meta charset="UTF-8" />
 </head>
 <body>
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
   <text its:storageSize="15"
    x="0" y="15" fill="red" transform="rotate(30 20,40)">I love ITS 2.0</text>
  </svg>
 </body>
</html>

is that correct?
If so, then using its-* for the attributes may follow the "DOM consistency" but not help ITS implementers.

In any case, it looks like we need to provide more guidance on how to use ITS in XHTML.

cheers,
-yves

Received on Thursday, 31 January 2013 17:13:41 UTC