forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: [PROPOSAL] DTD Versioning (Re: Should href be required on link)
Date Sun, 15 Dec 2002 13:09:19 GMT
On Sun, Dec 15, 2002 at 12:05:45PM -0000, John Morrison wrote:
> > From: Jeff Turner [mailto:jefft@apache.org]
> > So we have v1.1, and we create v1.1.1.  What do we do with 1.1?
> > 
> > That depends on whether you treat v1.1 as v1.1.0, or as an alias to
> > v1.1.x, where 'x' is the latest in the series.
> > 
> > If v1.1 = v1.1.0, then 1.1.1 completely supersedes it, and I can kinda
> > see why you'd want to 'cvs rm' it.
> > 
> > Alternatively, we can make 1.1 an alias for the latest in the 1.1.x
> > series.
> > 
> > This allows users to choose the specificity of the DTD they use.  Just
> > like if I have /lib/libfoo.so.1 symlinked to /lib/libfoo.so.1.4.3, I can
> > link against either.
> 
> I like the idea of symlinking, but remember that windows can't do that :(
> cygwin *can*, but the JVM won't be able to follow it :( (I've always
> wanted a cygwin compile of the JVM for just such a reason).

Not physical symlinks, but using the catalog for the same effect:

PUBLIC "-//APACHE//DTD Documentation V1.1.1//EN" "dtd/document-v11-1.dtd"
PUBLIC "-//APACHE//DTD Documentation V1.1.2//EN" "dtd/document-v11-2.dtd"
PUBLIC "-//APACHE//DTD Documentation V1.1.3//EN" "dtd/document-v11-3.dtd"
PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "dtd/document-v11-3.dtd"

Here, 1.1 is an alias for 1.1.3, or more generally, 1.1.x where x is the
latest.

Taken to it's logical conclusion, we have:

PUBLIC "-//APACHE//DTD Documentation//EN" "dtd/document-v11-3-1.dtd"
PUBLIC "-//APACHE//DTD Documentation V1//EN" "dtd/document-v11-3-1.dtd"
PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "dtd/document-v11-3-1.dtd"
PUBLIC "-//APACHE//DTD Documentation V1.1.3//EN" "dtd/document-v11-3-1.dtd"
PUBLIC "-//APACHE//DTD Documentation V1.1.3.1//EN" "dtd/document-v11-3-1.dtd"


- First would be for docs who will follow the Forrest DTD whatever
  happens (eg Forrest's own site).
- Middle would be what most users use.
- Last is for paranoid users who want to specify _precisely_ which DTD
  they used.


--Jeff
> 
> J.

Mime
View raw message