Something like 'ant:' would seem a sensible namespace.

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: 19 October 2000 19:08
> To:   [EMAIL PROTECTED]
> Subject:      RE: documenting your build file
> 
> I'll second that. 
> 
> -----Original Message----- 
> From: John Kohler [ <mailto:[EMAIL PROTECTED]>] 
> Sent: Thursday, October 19, 2000 10:54 AM 
> To: '[EMAIL PROTECTED]' 
> Subject: RE: documenting your build file 
> 
> 
> I would recommend using namespaces.  (If the build.xml does not now 
> use a namespace, it would be a very good Idea to add it.) 
> 
> 
> <project 
>    xmlns=" <http://www.apache.org/schema/Ant>" 
>    xmlns:doc=" <http://www.apache.org/schema/AntDoc>" 
>    default="package" basedir="."> 
> 
>   <target name="init"> 
>     <doc:descr>some description goes here</doc:descr> 
>     <tstamp/> 
>     ... 
>   </target> 
> 
>   ... 
> 
> The Ant parser would simply ignore any tags not in its 
> own namespace.  If you do this with namespaces, then ANY 
> XML language (eg. XLink, RDF) could be embedded within 
> the build files. 
> 

Reply via email to