Menu

#668 Non-existent attributes referenced in P5 source

AMBER
closed-fixed
None
5(default)
2014-05-21
2014-05-09
Lou Burnard
No

At http://www.tei-c.org/release/doc/tei-p5-doc/en/html/HD.html#HD44 I read :

"The <calendarDesc> element is used within the <profileDesc> element to document objects referenced by means of either the @calendar attribute on date or the @dateScheme attribute on any member of the att.datable class. "

Except that there is no such thing as a dateScheme attribute sfaics. att.datable.custom does supply one called datingMethod which is probably what was intended, though the name seems a bit odd.

I take this as an indication that we probably need some way of checking all <att> elements in the source. Again.

Related

Bugs: #635

Discussion

  • Lou Burnard

    Lou Burnard - 2014-05-09

    Nor indeed is there any such attribute as @calendar on <date> : it's supplied by the att.datable class. I am not clear why we need both. Certainly we need an example to explain the difference, if there is one.

     
  • Martin Holmes

    Martin Holmes - 2014-05-09

    @calendar and @datingMethod do completely different things, and both are required. @calendar tells you which calendar is used for the content of the date element; @datingMethod tells you what calendar is used for the @*-custom attributes. We use both, all the time, on the same elements. I'm pretty sure there's good documentation of the difference.

    What is intended here by dateScheme is @datingMethod.

     
  • James Cummings

    James Cummings - 2014-05-19
    • assigned_to: Martin Holmes
     
  • James Cummings

    James Cummings - 2014-05-19

    Assigning to Martin Holmes for triage and reporting to council

     
  • Martin Holmes

    Martin Holmes - 2014-05-20

    Fixed the erroneous attribute name in rev 12892. Now looking for the explanation of @calendar vs @datingMethod which I could have sworn Gabby put into the Glines a few years ago...

     
  • Martin Holmes

    Martin Holmes - 2014-05-20

    There seems to be no discussion of @calendar and @datingMethod in the Glines prose, so I've added one to ND, and pointed to it from the relevant section of HD. When Jinks has built the new versions of chapters, I'll post links to my additions here and copy the Council list.

     
  • Martin Holmes

    Martin Holmes - 2014-05-21
    • status: open --> closed-fixed
     
  • Martin Holmes

    Martin Holmes - 2014-05-21

    I've added one para per suggestion from LB on the list, and I'm now closing this ticket.