maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton (JIRA)" <>
Subject [jira] Closed: (MDOAP-24) programing-language, os and name properties should be an RDF literals, not a RDF resources.
Date Fri, 10 Dec 2010 10:26:58 GMT


Vincent Siveton closed MDOAP-24.

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Vincent Siveton

fixed in r1044153, snapshot will be deployed

> programing-language, os and name properties should be an RDF literals, not a RDF resources.
> -------------------------------------------------------------------------------------------
>                 Key: MDOAP-24
>                 URL:
>             Project: Maven 2.x DOAP Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Any
>            Reporter: Tim Fliss
>            Assignee: Vincent Siveton
>            Priority: Minor
>             Fix For: 1.1
>         Attachments: doap-language-bugreport.tgz, maven-doap-plugin.diff
> Summary
> The programming-language, os, and name properties are literals, not URIs.  They should
not be written as rdf:resources in the RDF output.
> The Problem
> While the resulting RDF will validate, what happens is that an RDF parser will interpret
<programming-language rdf:resource="java" /> as a URI fragment.  (see the attached incorrect
> Since there is no explicit xml:base in the DoaP file generated by the plugin, the resulting
URL is based on the default supplied by the RDF parser.  For example using the W3C RDF Validator
yields: rather than simply "java"
> XML Base for RDF is specified at: see
> Also note that the Apache Doap instructions correctly do not have rdf:resource for the
programming language element:
> The Fix
> Instead of <programming-language rdf:resource="java" />, the plugin should generate
> Similar changes apply to the os and name properties.
> Validation
> I am attaching diffs that include changes to the unit tests.  Also, the RDF validator
at may be used to demonstrate that the progamming language,
etc. elements are getting resolved to: rather than
simply "java".  Simply "java" is what it should be.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message