[topicmapmail] TopicMaps Validation

Lars Marius Garshol larsga@ontopia.net
Fri, 15 Apr 2005 09:35:28 +0200


* skhan@wonkwang.ac.kr
|
| I am looking for the way how I can validate my XTM files.  There are
| some tools and ways for RDF/OWL validation.  Are there any ways to
| validate XTM files...Thanks for any information...

There are two levels of XTM validation:

 - validating that the file follows the XTM 1.0 DTD, and

 - validating that the topic map in the file conforms to the
   contraints on the ontology you are using.

As Murray points out, validating against the DTD you can do with any
XML tool that supports DTD validation. You can also do it with the
Omnigator[1], which automatically validates any XTM file you load into
it, regardless of whether you have a <!DOCTYPE> at the top of the
file.

To do ontology validation you need a topic map schema language to
express the constraints on your ontology. At the moment some
validators for non-standard constraint languages (like OSL, AsTMa!,
XTche) are available. ISO is working on a standard constraint language
called TMCL, but no implementations of this are available right now.

The Omnigator contains an OSL validator that you can use, provided you
write an OSL schema for your ontology. The Users' Guide should have
pointers to get you started.

[1] <URL: http://www.ontopia.net/download/freedownload.html >

-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50                  <URL: http://www.garshol.priv.no >