W3C home > Mailing lists > Public > site-comments@w3.org > October 2009

Reformatting problem for the Device Description Repository Simple API standard

From: Francois Daoust <fd@w3.org>
Date: Thu, 15 Oct 2009 12:21:15 +0200
Message-ID: <4AD6F79B.9010403@w3.org>
To: site-comments@w3.org
Hi Ian and al,

Thanks for the new site!

The reformatting of the Device Description Repository Simple API 
standard yields strange results (in Firefox 3.0), see for instance:
http://lists.w3.org/Archives/Public/site-comments/2009Oct/#sec-Service-factory-methods

I suspect that this may be due to some XHTML served as HTML issue due to 
an unexpected empty tag. The reformatted source is:
  <h4><a name="sec-Service-factory-methods" 
id="sec-Service-factory-methods"/>4.3.1 Factory Methods</h4>

... whereas the initial source was:
  <h4><a name="sec-Service-factory-methods" 
id="sec-Service-factory-methods"></a>4.3.1 Factory Methods</h4>

Difference is <a [...] /> instead of <a [...]></a>

Firefox renders the document as if the "a" element spanned the rest of 
the document.
If XSLT is used to reformat the recommendations, there should be a 
specific setting to force the XSLT engine to generate XHTML that is HTML 
compatible. The setting might not have been set?

Thanks,
Francois.
Received on Thursday, 15 October 2009 10:21:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:32 GMT