Re: [doap-interest] [ANN] doap:store, a collaborative DOAP projects directory

Hi Chris,

On 12/18/06, Christopher Schmidt <crschmidt@crschmidt.net> wrote:
> On Mon, Dec 18, 2006 at 01:33:47PM +0000, Uldis Bojars wrote:
> >
> > OK, I see what is the problem.
> >
> > DOAP is based on RDF document format. Please check your document in
> > the RDF validator - it is not a valid RDF document.
> > http://www.w3.org/RDF/Validator/
>
> The validator is wrong. It's heuristic for checking whether content is
> RDF is failing, but the content itself is still valid RDF.

Thanks for correcting me. Indeed, RDF/XML spec. says: "When there is
only one top-level node element inside rdf:RDF, the rdf:RDF can be
omitted although any XML namespaces must still be declared."

Still, there is a possibility that PingTheSemanticWeb expects RDF/XML
sources to have the top-level rdf:RDF. Seems it can be omitted as
well, but still it can be a reason why PingTheSemanticWeb would not
accept this DOAP profile.

> > Try adding:
> > <?xml version="1.0"?>
> > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> > to the front of the document and </rdf:RDF at the end.
>
> DOAP does not allow this. Adding this to a DOAP document makes it
> non-DOAP.

Do you want to say that DOAP is not RDF?
If it were RDF then wrapping it in "<rdf:RDF>" should not change its validity.

Noticed that you use the "<rdf:RDF> part in the DOAP profile of DOAPer anyway:
http://crschmidt.net/doap/doaper.rdf

I find it peculiar if a valid DOAP profile becomes invalid if parsed
from RDF/XML and serialised again in RDF/XML (which most probably
would add the "<rdf:RDF>" part). And is serialising DOAP in N-Triples
form of RDF an invalid operation (in the sense that it won't be valid
DOAP) ?

BTW the DOAP validator page returns a 404. It is good that we can at
least validate if it is a valid RDF/XML. And if it is one can assume
there are data in there which can be used by other applications (which
"grok" RDF) in a meaningful way.

P.S. Sorry to [doap-interest] folks if the discussion gets too
technical in parts. Feel free to ask if further explanation of
something is needed.

Best,
Uldis

[ http://captsolo.net/info/ ]

Received on Monday, 18 December 2006 15:21:40 UTC