#27 default value of status= of <teiHeader>

Syd Bauman

The status= attribute of the <teiHeader> element
currently defaults to "new". It should not have any
default value.

Most encoders do not explicitly specify a status= of
<teiHeader>, as it is not required, and for many people
isn't useful. Then sometime later the encoder comes
along and updates the header, without even thinking of
status=. Now, because the default for status= is "new",
an XML parser will report that the header has not been
modified, when in fact it has. This could easily be
avoided by not having a default value for status=.
(Note that status=, about which the Guidelines say very
little, would appear not to be needed when
date.created= and date.updated= are used.)


  • Lou Burnard

    Lou Burnard - 2004-09-03

    Logged In: YES

    I agree. In fact I think we should get rid of as many default
    values as we possibly can, not just this one. I wonder if
    anyone will notice.

  • Natasha Smith

    Natasha Smith - 2004-09-20

    Logged In: YES

    I completely agree with this proposal, and would certainly
    give some real life examples when the status="new" has never
    been changed, when it should have been.

  • Lou Burnard

    Lou Burnard - 2004-09-22
    • assigned_to: nobody --> louburnard
    • status: open --> pending
  • Lou Burnard

    Lou Burnard - 2004-09-22
    • labels: --> TEI: New or Changed Element
    • status: pending --> closed
  • Lou Burnard

    Lou Burnard - 2004-09-22

    Logged In: YES

    I have removed the default value for this attribute


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks