#108 <remarks> of origin= of <timeline> confusing at best

AMBER
closed
3
2009-08-01
2009-07-11
Syd Bauman
No

The <remarks> section in the definition of the origin= attribute of the <timeline> element are at best confusing, at worst nonsense. It says “If the absolute value for the time of origin is not known, an arbitrary time (such as 00:00) should be used.”. Used where? On this attribute? Its datatype is data.pointer — putting “00:00” on the value of origin= of <timeline> suggests that the origin time is found as the root element of a file named “00:00” in the same directory as the current file (whose root had better be a <when>, I guess). As the absolute= of the <when> to which this <origin> points? If so, the datatype of absolute= of <when> is data.temporal.w3c, so “00:00” is not a valid value, and would mean midnight in any case.

Discussion

  • Lou Burnard

    Lou Burnard - 2009-07-13

    While I agree the suggestion in the text is pretty weird, it's less clear what one should do in the (not uncommon) case where the origin is unknown, and all the other timings are relative to it. What would you suggest?

     
  • Lou Burnard

    Lou Burnard - 2009-07-13
    • milestone: --> AMBER
    • assigned_to: nobody --> louburnard
     
  • Syd Bauman

    Syd Bauman - 2009-07-16

    Off the top of my head one thought is to change the definition of absolute= of <when> to
    attribute absolute { data.temporal.w3c | "origin" }
    with the additional constraint that only 1 <when> child of any given <timeline> may have absolute="origin".
    Then just leave origin= of <timeline> as a pointer that always points to a <when> child.

     
  • Lou Burnard

    Lou Burnard - 2009-07-29

    Wouldn't it be simpler just to say that @origin is not required, and that if it is not supplied, the implication is that the origin of the timeline is unknown? The various <when> elements it contains can still be defined relative to one another,

     
  • Syd Bauman

    Syd Bauman - 2009-07-29

    Uhh ... yes, that is definitely simpler, and I think it would be sufficient. That is, off the top of my head I haven't come up with any cases that could not be covered. So I like it.

     
  • Lou Burnard

    Lou Burnard - 2009-08-01

    OK, I've made @origin optional and added a sentemce explaining what that means, as of revision 6703

     
  • Lou Burnard

    Lou Burnard - 2009-08-01
    • status: open --> closed