Schéma XSD récent pour RDF
J'ai un petit fichier RDF que je doit valider :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://dublincore.org/documents/2002/07/31/dcmes-xml/
http://dublincore.org/documents/2002/07/31/dcmes-xml/dcmes-xml-xsd.xsd
http://www.w3.org/1999/02/22-rdf-syntax-ns#
http://www.w3.org/2000/07/rdf.xsd">
<rdf:Description rdf:about="http://dublincore.org/">
<dc:title>Dublin Core Metadata Initiative - Home Page</dc:title>
<dc:description>The Dublin Core Metadata Initiative Web site.</dc:description>
<dc:date>2001-01-16</dc:date>
<dc:format>text/html</dc:format>
<dc:language>en</dc:language>
<dc:contributor>The Dublin Core Metadata Initiative</dc:contributor>
<dc:title xml:lang="fr">L'Initiative de métadonnées du Dublin Core</dc:title>
<dc:title xml:lang="de">der Dublin-Core Metadata-Diskussionen</dc:title>
</rdf:Description>
</rdf:RDF> |
La version du schéma du RDF (/www.w3.org/2000/07/rdf.xsd) est une vielle version de XSD qui est définie avec la version XSD /www.w3.org/1999/XMLSchema.
Code:
1 2 3 4
| <schema xmlns="http://www.w3.org/1999/XMLSchema"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
targetNamespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
Or tous mes XML sont définis avec la version XSD /www.w3.org/2001/XMLSchema de XSD. Je me dis qu'il existe certainement une version du schéma de RDF définie avec la version /www.w3.org/2001/XMLSchema de XSD.
Ou alors au moins une feuille de style qui permette d'obtenir ca.
Merci à vous.