www-site-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: DOAP format question
Date Tue, 05 May 2015 10:51:03 GMT
On 5 May 2015 at 07:06, Hervé BOUTEMY <herve.boutemy@free.fr> wrote:
> Le mardi 5 mai 2015 01:05:31 sebb a écrit :
>> > OK, but that's because whoever code the XSLT decided to be defensive to
>> > such interpretation.
>> If you read back in this thread you will see that I did this in order
>> to support both asfext:PMC and asfext:pmc.
>> > But that does not mean is right.
>> The code is right in the sense that it works with the input files that
>> are provided.
> +1
> that's a temporary workaround that we should try to not need any more in the
> future

Ideally, yes, but as already noted that is not trivial.

> [...]
>> >> Also if it is possible to validate that the various RDF files are
>> >> correct according to the formal definitions.
>> >> PMCs could then submit their files for checking.
>> >
>> > I think we can discuss that infrastructure for the new site. I'm happy to
>> > help. Python provides the required libraries. I'll open a thread, probably
>> > tomorrow.
>> I think there needs to be a way for PMCs to check their RDF files
>> against the formal definitions.
>> For example, a CGI script that accepts the URL of a file.
> +1
> I tried W3C checker, but as it is only a syntax checker, it checked only
> syntax, not references to the namespace
> and I couldn't find any other useful tool :(
> Other tools to make effective use of the DOAP files would be useful too: but I
> completely agree that the first priority seems to have a more complete checker

It's possible to add warning checks to the cron job scripts, but this
will create a lot of noisy e-mails until projects have been notified
and fixed their files.
Experience shows that fixing DOAPs can take months for some PMCs.

One approach that might be worth trying is creating an additional
on-demand report that checks the list of RDFs for known issues.
Initially it could just check for asfext:PMC, but could be extended as
other issues are found or better syntax checking is available.

Checking for such simple typos could be done with almost any scripting language.

The RDF files are listed in

(PMC definitions)

Most of the PMC definitions are stored locally, and have already been fixed.

> Regards,
> Hervé
>> > Cheers,
>> >
>> > --
>> > Sergio Fernández
>> > Partner Technology Manager
>> > Redlink GmbH
>> > m: +43 6602747925
>> > e: sergio.fernandez@redlink.co
>> > w: http://redlink.co

View raw message