XHTML Style Sheet Questions

[1] The XHTML Style sheet generates the following html tag:
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   The HTML Compatibility Guideline C.7 states:
        "Use both the lang and xml:lang attributes when specifying the
language of an element."
   Should the XHTML Style sheet be modified to add the xml:lang
attribute?

[2] The XHTML Style sheet generates empty elements without a space
before the trailing / and >,
    e.g., <link rel="stylesheet" type="text/css"
href="http://www.w3.org/StyleSheets/TR/W3C-WD.css"/>,
          <hr/>, <br/>
   The HTML Compatibility Guideline C.2 states:
       "Empty Elements Include a space before the trailing / and > of
empty elements, e.g. <br />, <hr /> and 
       <img src="karen.jpg" alt="Karen" />. Also, use the minimized tag
syntax for empty elements, e.g. <br />, 
       as the alternative syntax <br></br> allowed by XML gives
uncertain results in many existing user agents."
   Should the XHTML Style sheet be modified to add a space before the
trailing / and > in empty elements?

[3] The XHTML Style sheet generates anchor tags that contain the shape
attribute without the coords attribute.
    e.g., <a rel="disclosure"
href="http://www.w3.org/2004/01/pp-impl/37584/status" shape="rect"> ....
</a>
          <a
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosur
e" shape="rect"> ... </a>
    Based on my understanding of the XHTML Client-Side Image Map Module 
 
<http://www.w3.org/TR/2002/WD-xhtml2-20021211/mod-csImgMap.html>, having
a shape attribute without the
         coords attribute is meaningless.
   Should the XHTML Style sheet be modified to not insert a shape
attribute without the corresponding coords
        attribute?


Richard T. Kennedy
The Boeing Company
W3C QAWG
W3C MWI BPWG

Received on Friday, 20 January 2006 08:57:29 UTC