On 4 May 2015 at 18:00, Hervé BOUTEMY <herve.bout...@free.fr> wrote: > I'm not a RDF expert: if someone with more knowledge on this can join, it > would be really useful > > But apart from seeing that most of the documentation was talking about pmc > instead of PMC [1] (I just had to fix 1 place), I was convinced that the > correct case is lowercase when reading asfext definition [2] > once again, I'm not an expert then could misinterpret the content, but I read > <rdf:Property rdf:about="http://projects.apache.org/ns/asfext#pmc"> as a > definition of pmc field, in lowercase
Perhaps; I don't know either. It's a bit odd that the original code used PMC rather than pmc. Also PMC is an abbreviation. RDF is also an abbreviation, and note that the XML tag is <rdf:RDF>, not <rdf:rdf>. It looks like namespaces (i.e. rdf, asfext) are lower-case, but classes/properties (?) may be upper (rdf:RDF), lower (foaf:name) or mixed case (foaf:Person). > > since I was working on projects-new.a.o, I completely forgot to try to > generate the current projects.a.o to check that the change didn't break > anything: sorry, I'll try it tonight Already done. Check the output; I think it works OK for both now. > one question: where is the cron log of the effective run? /home/apsite/wrkdir/projects > Regards, > > Hervé > > > [1] http://projects.apache.org/docs/pmc.html > > [2] http://projects.apache.org/ns/asfext > > Le lundi 4 mai 2015 01:39:45 sebb a écrit : >> XPath nodes are case-sensitive; <asfext:PMC> is not the same as >> <asfext:pmc>. >> >> The change from PMC to pmc has broken some of the reports - the PMC >> name is missing from most of the entries listed in >> http://projects.apache.org/indexes/pmc.html. >> >> I don't know which case is correct, but there are currently RDF files >> in project repos which use PMC rather than pmc. >> These files are not easy to fix, as each project has to be asked to do them. >> >> I can probably fix the scripts to check for both, but that is quite messy. >> >> It would be better to use the "correct" case setting throughout >> (whatever that is). >> It looks like the original xsl file only used PMC, however a fairly >> early revision started using pmc and continued using PMC. >> Perhaps there was always an issue with some of the reports? >> >> Until the correct setting is established, there's no point asking >> projects to fix their RDF files. >> >> I don't know if there is a formal description of the syntax anywhere. >> >> On 14 April 2015 at 00:00, Hervé BOUTEMY <herve.bout...@free.fr> wrote: >> > ok, it seems I can update the source, then I did it >> > >> > I suppose this will be published in the next site content generation... >> > >> > Regards, >> > >> > Hervé >> > >> > Le dimanche 12 avril 2015 04:41:22 Hervé BOUTEMY a écrit : >> >> Hi, >> >> >> >> I'm working on http://projects-new.apache.org/ , which makes me dig into >> >> ASF DOAP conventions >> >> >> >> And I found something that I think is a bug: on >> >> http://projects.apache.org/docs/pmc.html , half of the page explains >> >> about >> >> asfext:PMC in uppercase, while the other half is about asfext:pmc in >> >> lowercase >> >> >> >> AFAIK, everybody is using asfext:pmc, in lowercase >> >> >> >> Can you confirm that it is in lowercase? Then fix the page, that is >> >> causing >> >> a little bit of confusion? >> >> >> >> Thanks in advance, >> >> >> >> Hervé >