On Monday 17 November 2003 17:20, 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 the class did not contain a setSchemaLocation() method or was an instance of DynamicConfigurable it would barf. My original namespace support only allowed "antlib:*" to be used for typedef's uri attribute (and hence antlib), all other namespace uri's were ignored - see for example: http://marc.theaimsgroup.com/?l=ant-dev&m=105336417419712&w=2 We could modify namespace processing to ignore attributes not in the "right" namespace. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]