Re: ANN: RDF2RDFa: Turning RDF/XML into Snippets for Copy-and-Paste

On Thu, 2009-08-13 at 23:50 +0200, Martin Hepp (UniBW) wrote:
> The tool is available at
> http://www.ebusiness-unibw.org/tools/rdf2rdfa/

A few bits of feedback:

1. The contents of the @content attributes don't seem to be properly
HTML-escaped. This is especially problematic for literals that contain
quote marks.

2. Using the "/>" closing notation for <span> and <div> elements *will
not work* in real-world browsers unless a page is served with an X(HT)ML
MIME type. Use full end tags: <span ...></span>.

3. The generated code seems to nest <div> elements inside <span>
elements. This is invalid both in HTML and XHTML.

4. When using the "Convert from URI" form, the tool sends an HTTP Accept
header of: "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2". Given
that the tool only accepts RDF/XML, this should probably be something
like: "application/rdf+xml, application/xml;q=0.1, text/xml;q=0.1".
Right now it fails on URIs that are connection negotiated.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Friday, 14 August 2009 08:24:59 UTC