[tei-council] [Fwd: [ tei-Bugs-2932853 ] TEI/@version]

Martin Holmes mholmes at uvic.ca
Fri Jan 15 11:25:28 EST 2010

HI Lou,

It's directly analogous to application/@version, which has a nice regexp 
that Syd and I put together:


<rng:data type="token">

token { pattern = "[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}" }

I'd suggest merging these two attributes, which already have the same name.


Lou wrote:
> Any thoughts on this one? I am minded to change the datatype to 
> data.enumerated (though that leaves open the question of how to specify 
> a closed set of numeric values)
> ------------------------------------------------------------------------
> Subject:
> [ tei-Bugs-2932853 ] TEI/@version
> From:
> SourceForge.net <noreply at sourceforge.net>
> Date:
> Fri, 15 Jan 2010 06:02:04 -0800
> To:
> "noreply at sourceforge.net" <noreply at sourceforge.net>
> To:
> "noreply at sourceforge.net" <noreply at sourceforge.net>
> Bugs item #2932853, was opened at 2010-01-15 13:07
> Message generated for change (Comment added) made by louburnard
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=644062&aid=2932853&group_id=106328
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: TEI: Definition of Elements/Attributes/Classes
> Group: AMBER
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Ian Rons (ianrons)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: TEI/@version
> Initial Comment:
> TEI/@version is an xsd:decimal, but TEI version numbers aren't decimals, e.g. "1.5.0".  Can I suggest changing this to something more applicable, perhaps data.enumerated.  This would allow a limited range of values, and could even be reduced to one (the current value), thus causing a validation error if one attempts to validate against the wrong TEI schema version.
> ----------------------------------------------------------------------
>> Comment By: Lou Burnard (louburnard)
> Date: 2010-01-15 14:02
> Message:
> When defined, this attribute was for the base version of the Guidelines as
> a whole (e.g. P5 as opposed to P4), and we had not yet set in place the
> programme of regular version releases.  It would certainly make sense for
> this now to be used for point release numbers e.g.  5.1.2 
> Your suggestion of making it data.enumerated is a good one, since it would
> permit projects to define explicitly the versions for which a given
> document is valid in their project ODD. Let's see what the Council
> thinks...
> ----------------------------------------------------------------------
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=644062&aid=2932853&group_id=106328

Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)
Half-Baked Software, Inc.
(mholmes at halfbakedsoftware.com)
martin at mholmes.com

More information about the tei-council mailing list