Hi Gerd,

>> On the data side, using a skeletal HDF5/XML dump of a datafile to check
> that
>> it is valid according to some domain-specific schema will be handy.

> We were thinking of a more constraint-based approach, i.e., a domain expert
> would
> supply an XQuery (or XSL) transform that would convert an HDF5/XML
> representation
> into a Boolean valued checklist so that non-compliance can be easily
> assessed.
> The XQuery transform would consist more or less of a list of user-defined
> predicates (Boolean functions) which check, e.g., for the presence of
> certain
> groups or attributes, certain sizes etc.

That XQuery approach sounds handy for details like making sure
different datasets have congruent sizes.  Still, for gross structural
validation I'd much rather have a schema.  Sounds like both approaches
might have a place.  Fortunately XML gives you both for free once
HDF5/XML is involved.

- Rhys

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to