You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Cheun N Chong <cn...@ecs.soton.ac.uk> on 2000/04/14 04:54:48 UTC

RDF and DTD

HI there

	I am sorry to bother. Is there any example that I can refer to
about using DTD on an RDF document?

	Thousand thanks.


Best regards,
Cheun Ngen CHONG



Re: RDF and DTD

Posted by Klaus Malorny <Kl...@knipp.de>.
Cheun N Chong wrote:
> 
> HI there
> 
>         I am sorry to bother. Is there any example that I can refer to
> about using DTD on an RDF document?
> 
>         Thousand thanks.
> 
> Best regards,
> Cheun Ngen CHONG


Interesting question. I also wondered whether a DTD/Schema is possible for RDF.
I am neither an RDF expert, nor a DTD/Schema expert, but I think that you will
not be able to create a DTD for RDF because of the extensive use of namespaces
in RDF. Eventually, you can create a DTD for the RDF namespace part.
Unfortunately, the contents of some elements depend on the value of an
attribute (parseType), which cannot be modelled by a DTD.

Maybe everything can be solved by the use of schemata, but I haven't taken a
look on these standards.

regards

Klaus Malorny