[Mulgara-general] Help
Paul Gearon
gearon at ieee.org
Tue Jul 29 05:00:10 UTC 2008
On Mon, Jul 28, 2008 at 11:37 PM, Bill OConnor <wtoconnor at gmail.com> wrote:
<snip/>
> I managed to execute an insert from the tutorial and get it back with a
> "select". This leads
> me to believe that there is something wrong with the content.rdf
>
> Here is an excerpt:
>
>
> <?xml version='1.0' encoding='UTF-8' ?>
> <RDF xmlns:r="http://www.w3.org/TR/RDF/"
> xmlns:d="http://purl.org/dc/elements/1.0/"
> xmlns="http://dmoz.org/rdf">
Here is the first of your problems. The namespace for rdf is
http://www.w3.org/1999/02/22-rdf-syntax-ns#
If you use http://www.w3.org/TR/RDF/ then all parsers will refuse to
recognize it as RDF. Incidentally, the convention is to use rdf:
rather than r:, though r does work.
> <Topic r:id="Top">
> <catid>1</catid>
> </Topic>
This is another error. URIs are case sensitive, so you need to say:
<Topic r:ID="Top">
You can test all of this with the W3C RDF Validator:
http://www.w3.org/RDF/Validator/
Regards,
Paul
More information about the Mulgara-general
mailing list