cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Larson <>
Subject Re: Version $Id$ style for xml files (Was: SVN behaviour with "Id" keyword)
Date Wed, 02 Feb 2005 14:28:02 GMT
On Wed, Feb 02, 2005 at 01:49:35PM +0000, Tim Larson wrote:
> On Wed, Feb 02, 2005 at 02:39:49PM +0100, Sylvain Wallez wrote:
> > Conal Tuohy wrote:
> > >What about a processing instruction? 
> > ><?version $Id$?>
> > >
> > >This has the advantage over a comment that it can be retrieved 
> > >unambiguously with an XPath query: "processing-instruction('version')" 
> > 
> > Question is: do we need that? IMO no, as I don't see valid use cases for 
> > analyzing the version string of an XML document or XSL stylesheet at 
> > runtime in Cocoon.
> I like the idea of having _some_ way to access the version
> info in xml files, because someday we may have tools like
> javadocs which would collect and display this info (think
> for xml files like sitemaps, cforms definitions, models,
> templates, etc.)  Since the work of standardizing the Id's
> (to get rid of spurious "CVS" references, etc.) is tedious
> I would like to do it only once, hence this discussion.

Would the benevolent dictator please speak, so I can finish
the changes?  Oops, that's in Linux kernel land ;)
More seriously, could a few more people respond so we can
come to a conclusion.  I'm champing at the bit to get this
done, so I can move on to more "real" cocoon work :)

--Tim Larson

View raw message