bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <reductions>


From: Tim Van Holder
Subject: Re: <reductions>
Date: Tue, 09 Oct 2007 13:18:54 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Joel E. Denny wrote:
> xml2xhtml.xsl and xml2text.xsl now share a template for computing 
> conflicts.  As Akim suggested, I've started a library.  I named it 
> bison.xsl.  I set the namespace URI for its contents as:
> 
>   http://www.gnu.org/software/bison/
> 
> because I figured it's the most obvious choice.  However, I usually prefer 
> something like:
> 
>   http://www.gnu.org/software/bison/VERSION/
> 
> where VERSION will be 2.3b in the next release.  This cleanly separates 
> names that have changed between releases.  What do others think?  Is there 
> any GNU convention here?  If not, is there any other convention we should 
> consider adopting?

If you use a HTTP URI as namespace, it should really point to the schema
in question, so that it can be fetched remotely (see
http://www.w3.org/1999/XSL/Transform for example, although that is just
a stub schema).
For XSLTs where that isn't needed (or not needed yet), I tend to just
use URNs. For bison you could use "urn:x-gnu:bison:2.3b" or something.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]