W3C home > Mailing lists > Public > www-rdf-interest@w3.org > September 2003

Need hint for parsing Open Directory RDF

From: Jan Algermissen <jalgermissen@topicmapping.com>
Date: Sun, 21 Sep 2003 20:00:05 +0200
Message-ID: <3F6DE725.5D9EC7FC@topicmapping.com>
To: "www-rdf-interest@w3.org" <www-rdf-interest@w3.org>

Hello.

I am trying to parse the Open Directory structures example
( http://rdf.dmoz.org/rdf/structure.example.txt ) with raptor 1.0
and get the following error:

"Using an element tag without a namespace is forbidden"
"Literal property element Topic has property attributes"

The RDF starts like this:

=============================================
<RDF xmlns:r="http://www.w3.org/TR/RDF/"
     xmlns:d="http://purl.org/dc/elements/1.0/"  
     xmlns="http://directory.mozilla.org/rdf">

<Topic r:id="Top">
  <tag catid="1"/>
  <d:Title>Top</d:Title>
  <narrow r:resource="Top/Arts"/>
   ....
==============================================

I tried <r:RDF> but that does not help. I assume that
the RDF is ok, so could anyone help me to find out what
I am doing wrong?

Thanks.


Jan





-- 
Jan Algermissen                           http://www.topicmapping.com
Consultant & Programmer	                  http://www.gooseworks.org
Received on Sunday, 21 September 2003 13:55:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:02 GMT