xml dive logs: minimum attribute count.

Dirk Hohndel dirk at hohndel.org
Wed Apr 23 07:19:57 PDT 2014


On Wed, 2014-04-23 at 09:01 +0300, Miika Turkia wrote:
> On Wed, Apr 23, 2014 at 8:50 AM, Willem Ferguson
> <willemferguson at zoology.up.ac.za> wrote:
>         take the liberty of posting this message again in an attempt
>         to elicit a response. Hope it's ok?
>         
>         The attached xml creates an unintended profile.
>         Looks like if depth is not explicitly specified for a sample
>         then it makes depth zero for that sample? But
>         I am not sure whether it is an artefact of the very short
>         artificial file, rather than expected behaviour.
> 
> 
> Every sample should have time and depth attributes. Seems that depth
> is assumed to be zero if not specified. For this reason I have
> artificial depths generated on some XSLT based imports.

Sorry for not responding earlier. Miika is correct. Time and depth are
required. I guess we could change that - we just had never seen a source
that had samples without depth.

/D




More information about the subsurface mailing list