Dominique Devienne wrote:
From: peter reilly [mailto:[EMAIL PROTECTED]

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 antlib:org.apache.tools.ant.

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.


-chris



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



Reply via email to