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

Re: OWL documents do not follow HTML compatibility guidelines

From: Christine Golbreich <cgolbrei@gmail.com>
Date: Wed, 30 Sep 2009 21:19:49 +0200
Message-ID: <b0ed1d660909301219w22fda95bo8e826d3838045a2c@mail.gmail.com>
To: Simon Reinhardt <simon.reinhardt@koeln.de>
Cc: public-owl-comments@w3.org
2009/9/30 Simon Reinhardt <simon.reinhardt@koeln.de>

> 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.


Removed it in the wiki, hope this fixes the display.


> 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?
>


Christine


> 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
>
>


-- 
Christine
Received on Wednesday, 30 September 2009 19:20:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 September 2009 19:20:25 GMT