Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 82910 invoked from network); 2 Feb 2005 13:49:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Feb 2005 13:49:44 -0000 Received: (qmail 46919 invoked by uid 500); 2 Feb 2005 13:49:40 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 46880 invoked by uid 500); 2 Feb 2005 13:49:39 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 46866 invoked by uid 99); 2 Feb 2005 13:49:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from keow.org (HELO keow.org) (69.41.247.100) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 02 Feb 2005 05:49:38 -0800 Received: (qmail 26337 invoked by uid 1000); 2 Feb 2005 13:49:36 -0000 Date: Wed, 2 Feb 2005 13:49:35 +0000 From: Tim Larson To: dev@cocoon.apache.org Subject: Re: Version $Id$ style for xml files (Was: SVN behaviour with "Id" keyword) Message-ID: <20050202134935.GE25820@localhost> References: <802926B6AB8533408C33ADBCA3EE5C2A138D7B@coso.staff.vuw.ac.nz> <4200D825.1090100@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4200D825.1090100@apache.org> User-Agent: Mutt/1.5.6+20040907i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wed, Feb 02, 2005 at 02:39:49PM +0100, Sylvain Wallez wrote: > Conal Tuohy wrote: > >What about a processing instruction? > > > > > >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. --Tim Larson