Lists Home |
Date Index |
The DTD approach only works for carefully constructed OWL documents. I know
this because any RDF document can be considered an OWL Full document and
this was one of the prime reasons to invent OWL DL in the first place. I
don't think it is possible to write a DTD that validates all legal RDF
documents and invalidates all documents that are not legal RDF. It *is*
possible to do this with RELAX NG, however, e.g. see
You might use this as a good starting point for OWL (or use the RELAXNG
developed for the 'new' RDF syntax).
> Hi Folks,
> I have put together an OWL DTD. This DTD can be used to check that your
> OWL documents are legal.
> This DTD is an alpha version. I am sure that there are bugs. Please
> report any bugs to me.
> Here is the URL to owl.dtd
> For a sample owl document containing a DOCTYPE declaration see here
> (note the namespace and element declarations you may need to add)