community-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject DOAP validation code (was DOAP format question)
Date Fri, 08 May 2015 10:51:34 GMT
On 5 May 2015 at 16:57, Sergio Fernández <wikier@apache.org> wrote:
> Hi,

<snip/>

> I didn't have much time today, but what I already did was implementing the
> basics of how the DOAP processing could look like. For the moment is at
> https://github.com/wikier/asf-doap until I'll get something more
> functional, then I'll commit it to the asf repo.
>
> Basically what if currently does that simple code is to get all DOAP/PMC
> files and report some basics (size). You can run it by yourself executing:
>
> $ python doap.py
>
<snip/>

I've tried the code, and it does find some syntax errors.

[The code needs to be tweaked so it catches & reports syntax errors
rather than failing]

However, it does not seem to detect asfext:PMC as an error - it seems
to be case-blind.

I cannot work out whether the library supports exact case checking,
and if so, how to enable this.

Nor does it appear to detect invalid tags (perhaps that's why case
checking does not work).

Mime
View raw message