Second cut

From: Ralph Hartley (hartley@aic.nrl.navy.mil)
Date: Mon Apr 16 2001 - 16:57:19 CEST


There is a second draft. I tried to send this a few days ago but it
apparently didn't go out.

It is at http://www.psc-cavers.org/cavexml/

The directory cmap2xml contains a Java program that takes a CMAP dat
file and converts it to CaveXML. The files starr_style1.xml and
starr_style2.xml contain the results of converting STARR.DAT. The two
slightly different styles are selectable by an argument. This is not a
final product, but is intended as a illustration.

The program requires the Xerces XML package. It can be downloaded from
IBM or apache.org.

The DTD has been debugged a bit. A simple example file is included,
that works with the DTD (but you may have to change the url to find the
dtd).

Quite a bit has been added to semantics.html, including many new
examples, and a section on representing processed data.

The Provenance element has been broken up into three elements:
ProvenanceSource, ProvenanceImport, and Processed.

ForAzimuth and BackAzimuth have been merged, for and back sights are now
distinguished by the subtype attribute.

The Default element has been changed to allow separate defaults to be
set depending on the subtype attribute (to work with the single Azimuth
element), and to allow defaults to be set for several element types at
once.

The NameSet element has been added.

Many advanced, but non-controvesial, attributes (declination, accuracy,
personnel, instrument serial numbers, etc.) are still missing. Most
will be attributes of the measurements to which they apply. Nested
Default elements keep that from adding too much overhead.

Comments are welcome as usual.

Ralph Hartley



This archive was generated by hypermail 2b30 : Wed May 02 2001 - 12:00:00 CEST