I'm confused Peter about the reserved URIs. When you say ant:core and antlib:<package name>, you really are talking about the URIs, not the namespace prefixes, right?
If so, why is the ant:core URI so short, instead of the usual unique name that result from using the DNS/URL name to Ant, with a version or date for versioning purposes? It's the usual practice in XML isn't it? XSL does it like that, no? And also, from the discussions we had, I thought that it was a bad practice to mix URIs, which are solely there to uniquely identify a piece of functionality, and specific info on how to load that functionality. I now realized, writing this, that antlib:<package name> is also a unique name that doesn't imply how to load that AntLib, but you also write that you'll look for a <package name>/antlib.xml, which implies it *must* be on the classpath. I'm just hoping there is a separate mechanism that allows to specific a classpath to use for a specific AntLib... I'm a big +1 to adding namespace support to Ant, but a -0 to using ant:core as a URI, and -1 to forcing AntLib's to be on Ant's classpath. --DD > -----Original Message----- > From: peter reilly [mailto:[EMAIL PROTECTED] > Sent: Friday, August 01, 2003 7:30 AM > To: [EMAIL PROTECTED] > Subject: [Patch] namespace and antlib > > I have posted a patch for namespace support in > > http://issues.apache.org/bugzilla/show_bug.cgi?id=19897 > > It should cover most of the issues raised > http://marc.theaimsgroup.com/?t=105289875900005&r=1&w=2 > > Arbitrary namespace uris are allowed, uris beginning with "ant" are > reserved. > > ant:core is ant's namespace and the default namespace for > definitions. > > antlib:<package name> is treated specially, when ant encounters a > component (task, or type) that has a namespace uri of this form, > ant will check if there is a resource of the name packege -> > path/antlib.xml > and if so it will load it up. > > Peter. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]