Re: OWL documents do not follow HTML compatibility guidelines

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 UTC