W3C home > Mailing lists > Public > public-owl-comments@w3.org > September 2009

OWL documents do not follow HTML compatibility guidelines

From: Simon Reinhardt <simon.reinhardt@koeln.de>
Date: Wed, 30 Sep 2009 15:43:04 +0200
Message-ID: <4AC36068.5030201@koeln.de>
To: public-owl-comments@w3.org
Hello,

The current versions of the OWL 2 documents are served with the content type text/html and also explicitly set this with a <meta> tag. However they contain XHTML that does not follow the HTML compatibility guidelines for XHTML [1].
For example they start with the <?xml?> declaration, don't use spaces in front of /> and most importantly: they use the minimised form of empty elements. This leads to one very visible bug in Opera: in the New Features and Rationale document from a certain section on [2] everything is rendered as monospaced text. This is because this section contains a <span class="name"/> which Opera correctly assumes to be just an opening tag because it parses the document as HTML and not as XHTML. I'm seeing this in Opera 9.64 on Linux.
A quick fix is just to remove this element as it doesn't do anything. Even better would be though if all documents would follow the compatibility guidelines. I can understand if this is too much work though. It seems like the documents are automatically converted from the wiki pages?

Regards,
  Simon Reinhardt


[1] http://www.w3.org/TR/xhtml1/#guidelines - see http://www.w3.org/TR/xhtml-media-types/#text-html as well
[2] http://www.w3.org/TR/2009/PR-owl2-new-features-20090922/#Datatype_Definitions
Received on Wednesday, 30 September 2009 13:43:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 September 2009 13:43:43 GMT