Need hint for parsing Open Directory RDF

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 UTC