[foaf-dev] validator output

Paola Di Maio paola.dimaio at gmail.com
Sun Sep 27 21:33:16 CEST 2009


Actually

In addition to the remarks below, I just noticed that it says

- validator passed

-  some *warnings* are issues below

so, how can it pass the validation, if it fails some tests (or is it
deliberally loosely constrained?)
thanks
P

*Test 1*: Checking
rdf:type<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>of the
document:

*Warning*. The document URL is not of type FOAF Document. The FOAF
URL<http://foaf.qdos.com/validator/tmp/1b5f3aec18564c5230ea6a709ca8e699.rdf>should
be of
rdf:type <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
foaf:PersonalProfileDocument<http://xmlns.com/foaf/0.1/PersonalProfileDocument>or
foaf:Document <http://xmlns.com/foaf/0.1/Document> so that the URL can be
identified as a FOAF document
------------------------------

*Test 2*: Checking for a
foaf:primaryTopic<http://xmlns.com/foaf/0.1/primaryTopic>
:

*Warning*, There is no
foaf:primaryTopic<http://xmlns.com/foaf/0.1/primaryTopic>in this
document
------------------------------
*Test 3*: Checking if PrimaryTopic is a
foaf:Person<http://xmlns.com/foaf/0.1/Person>
:

*Warning*. Your PrimaryTopic is not explicitly a
foaf:Person<http://xmlns.com/foaf/0.1/Person>





On Sun, Sep 27, 2009 at 8:21 PM, Paola Di Maio <paola.dimaio at gmail.com>wrote:

> Mischa
>>
>
> thanks a lot for the validator
> (thanks too Dan, this hopefully will help me solve what I feel is a rather
> dumb question)
>
> Basically, ( rather embarrassed)
> a) I am not sure why I am not getting what I expect to see after pasting my
> foaf profile to my web page
> b) maybe I dont know what I should expect to see
> c) I really did not want to say this in public, but wtheck we are friends
> of friends right?
>
> I have posted a foaf profile to my web page here
>
> http://personal.strath.ac.uk/paola.dimaio/
>
> in there, there is  a link (should I say URI) that redirects to my
> .RDF profile
>
> http://personal.strath.ac.uk/paola.dimaio/paola.rdf
>
> when I click on it (firefox with tabulator installed), all I see is the URI
> string itself
>
>
> is that what I should expect to see, (I suspect not)
>
> when I ran the validator earlier today, it said 'the file is empty'
> I then realised that there were some missing tags at the top of the
> document
>
> it was: rdf:RDF
> instead of : <rdf:RDF>
>
> - so not sure if  valid xml/rdf syntax (as in missing a tag) is actually
> tested in there?
>
>
> so I put the tags in, and now your parser says:
>
> Rapper output Raptor RDF <http://librdf.org/raptor/libraptor.html>validation passed
> I take it measn that the foaf profile is good, right?
>
>
> but I still cannot see anything other than the uri when I click on it, and
> I still dont know what I should see,
>
> :-(
>
> Am  I making a fool of myself ;-)
>
>
>
> P
>
>
>
>
>
>
>>
>> Message: 1
>> Date: Sat, 26 Sep 2009 14:47:13 +0100
>> From: Mischa Tuffield <mischa.tuffield at garlik.com>
>> Subject: [foaf-dev] FOAF Validator
>> To: foaf-dev Friend of a <foaf-dev at lists.foaf-project.org>
>> Message-ID: <45BE9312-7E87-47C2-A79B-F812C58C6B81 at garlik.com>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Hello All,
>>
>> I have added a couple of checks to the foaf validator :
>>
>> 1) It now flags strings which begin with "http://" and informs the
>> user that they should be rdf:resources.
>>
>> 2) And checks for domain names without trailing slashes :), am not a
>> fan of incorrect URIs. For example, http://twitter.com as a
>> accountServiceHomepage should really be http://twitter.com/.
>>
>> See [1] as an example.
>>
>>
>> Anyways, I hope this helps,
>>
>> Mischa
>>
>> P.S. Do let me know if there are any tests you would like me to add to
>> the foaf Validator [2]
>>
>> [1]
>> http://foaf.qdos.com/validator/uri?URI=http%3A%2F%2Fwww.machinespirit.net%2Facegikmo%2Ffoaf&PARSE=Parse+URI%3A+
>> [2] http://foaf.qdos.com/validator/
>> _________________________________
>> Mischa Tuffield
>> Email: mischa.tuffield at garlik.com
>> Work: http://www.garlik.com/
>> Homepage: http://mmt.me.uk/
>> FOAF: http://mmt.me.uk/foaf.rdf#mischa
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://lists.foaf-project.org/pipermail/foaf-dev/attachments/20090926/b5b2942a/attachment.html
>>
>> ------------------------------
>>
>> _______________________________________________
>> foaf-dev mailing list
>> foaf-dev at lists.foaf-project.org
>> http://lists.foaf-project.org/mailman/listinfo/foaf-dev
>>
>> End of foaf-dev Digest, Vol 33, Issue 8
>> ***************************************
>>
>
>
>
>


-- 
Paola Di Maio
**************************************************
Networked Research Lab, UK

***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.foaf-project.org/pipermail/foaf-dev/attachments/20090927/2fbb437b/attachment.htm 


More information about the foaf-dev mailing list