W3C home > Mailing lists > Public > www-rdf-interest@w3.org > May 2004

Re: Doublin Core Problem

From: Damian Steer <damste@hplb.hpl.hp.com>
Date: Wed, 05 May 2004 10:14:50 +0100
Message-ID: <4098B08A.10503@hplb.hpl.hp.com>
To: frozados@fibertel.com.ar
Cc: RDF-Interest <www-rdf-interest@w3.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

frozados@fibertel.com.ar wrote:
| Hello,
|
| I am developing some rdf files to create my database of metadata. I need
| an standard file to do the other files.
|
| 1)Can anyone tell me the errors of this file?

I can give you some pointers - see below. This file isn't valid XML.

|
| I use http://www.w3.org/RDF/Validator but it throws me an Exception and
| i can't  see the result.
|
| <?xml version="1.0"?>
| <rdf:RDF
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|    xmlns:dcelem="http://purl.org/dc/elements/1.1/"
|    xmlns:dcterms="http://purl.org/dc/terms/"
|    xmlns:dctype="http://purl.org/dc/dcmitype/">
|    <rdf:Description
about="http://ua.edu.ar/Books/ProgrammingBooks/C++Programming">

Use rdf:about here, btw.

|       <dcelem:title>C Language Programming</dcelem:title>
|       <dcelem:subject>Programming Book</dcelem:title>
mismatching tags: </dcelem:subject>
|       <dcelem:contributor>Dennis Ritchie</dcelem:contributor>
|       <dcelem:language>en<dcelem:language>
|       <dcterms:abstract>This is an excelent book</dcterms:abstract>
|       <dcelem:Type>Text</dcelem:Type>
|       <dcelem:description>Describes how to program in C languaje.
|
|       </dcelem:description>
|       <dcelem:date>2001-01-20</dc:date>
mismatching: </dcelem:date>
|       <dcelem:format>application/pdf</dc:format>
ditto: </dcelem:format>
|       <dcterms:created>2000-10-01</dcterms:created>
|       <dcterms:available>2000-10-01</dcterms:available>
|       <dcterms:issued>2000-10-01</dcterms:issued>
|       <dcterms:modified>2000-10-01</dcterms:modified>
|       <dc:Identifier>urn:issn:1082-9873</dc:Identifier>
dc namespace not declared - you want dcterms or dcelems I assume.
|       <dcterms:isPartOf
rdf:about="http://ua.edu.ar/Books/ProgrammingBooks/"></dcterms:isPartOf>
|       <dcelem:creator
rdf:resource="http://www.brian-kernighan.com/home.html">
|               <foaf:Person>
|                   <foaf:name>Brian W. Kernighan</foaf:name>
|                   <foaf:nick>Brian</foaf:nick>
|                   <foaf:mbox rdf:resource="mailto:kernighan@mit.com"/>
|                   <foaf:knows>
|                       <foaf:Person>
|                           <foaf:name>Zinedine Zidane</foaf:name>
|                           <foaf:mbox
rdf:resource="mailto:zidane@madrid.es"/>
|                       </foaf:Person>
|                    </foaf:knows>
|                <foaf:depiction
rdf:resource="http://ua.edu.ar/Photos/Zidane.jpg"/>
|
|               </foaf:Person>
|       </dcelem:creator>
|       <dcelem:accessRights>Students</dc:accessRights>
|       <dcterms:hasVersion>1.0</dc:hasVersion>
mismatching tag.
|       <dcterms:isRequiredBy
rdf:resource="http://ua.edu.ar/Subject/Programming/"/>
|       <dcterms:isReferencesBy
rdf:resurce="http://uca.edu.ar/Articles/Programming/NewLanguages"/>
|       <dcterms:isReferencesBy
rdf:resurce="http://ua.edu.ar/Articles/Programming/ObjectLanguages"/>
|    </rdf:Description>
| </rdf:RDF>
|
|
| I appreciate any help.
|
| thanks a lot,
| Federico.

Hope this helps clean it up.

Damian

| ________________________________________
| FiberTel, el nombre de la banda ancha http://www.fibertel.com.ar
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAmLCKAyLCB+mTtykRApCvAJ9KFyo36iXu7mamFZxQ2a/baoI5BgCg77SQ
B73/8qlf7rLMeGwvneXh4Bk=
=gwxp
-----END PGP SIGNATURE-----
Received on Wednesday, 5 May 2004 05:15:13 GMT

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