ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <>
Subject Re: Ant 1.6 and namespace
Date Mon, 17 Nov 2003 17:42:04 GMT
Dominique Devienne wrote:
>>From: peter reilly []
>>>On Monday 17 November 2003 17:01, Dominique Devienne wrote:
>>>So the NS for <project> and <target> does not matter?
>>>Conceptually they are part of the Ant XML dialect to me,
>>>so seeing them in no namespace at all seems weird??? --DD
>>If no namespace uri is picked for the empty prefix, it is up
>>to the processor to pick one, in ant's case this is
> Ah, thanks for the precision. I didn't know this rule.
> Slightly related, if I extracted or wrote a schema for Ant,
> and specified an xsi:schemaLocation attribute in <project>,
> will Ant ignore the attribute, or barf?

If you also define the namespace prefix "xsi", the document is still 
well-formed so everything should be fine. Xerces will not try to validate 
the build file though, since Ant doesn't put the parser in validating mode, 
of course.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message