[EMAIL PROTECTED] wrote:
Steve Loughran <[EMAIL PROTECTED]> wrote ..

<n1:mytask>
        <action>this action is a direct element; default NS or local 
ns?</action>
        <http url="this-is-a-condition-from-Ant; default NS" />
        <n1:mytest>this is my new test, in the new ns</n1:mytest>
</n1:mytask>

What confuses me here is that the ns of a nested element (not a type, an
element) is what? local? or Ant's main ns?

<snip/>

'An XML namespace declaration remains in scope for the element on which it is 
declared and all of its descendants, unless it is overridden or undeclared on 
one of those descendants'

so <action/> and <http/> are in the n1: namespace.

I think you meant they are *not* in the n1: namespace, right?

best,
-Rob

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

Reply via email to