> From: Antoine Lévy-Lambert [mailto:[EMAIL PROTECTED]
> 
> Dominique : can you use a patched version of ant 1.6.0 until we provide
> an official new release ?

Actually, thanks to Peter's answer I'm not stuck any more.
At first I thought I couldn't use namespaces at all to turn around
the bug, which would have stuck me, but in fact I still can use
namespaces, just not assign a default namespace on the root element,
thus leaving NCNames in NO namespace instead of the (default) Ant namespace.

So in short I can do:

<project xmlns:ac="antlib:net.sf.antcontrib"
         xmlns:bm="antlib:com.lgc.buildmagic" ... />

instead of 

<project xmlns="antlib:org.apache.tools.ant"
         xmlns:ac="antlib:net.sf.antcontrib"
         xmlns:bm="antlib:com.lgc.buildmagic" ... />

which does not work with Ant 1.6. The only consequence this had for
me was to change an XSL stylesheet processing the build.xml (to extract
some meta-data from it) to match elements in no namespace instead of
the Ant namespace (I was still using ant:core, so I had to change
something anyhow.)

That said, I'd welcome a 1.6.1 release, but I think it's not
as much a priority for me now that I have a turn around.

--DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to