Hi Richard,

Richard Smith schrieb:
<message
 to="..."
 from="..."
 xmlns:magicNS="urn:blah:etc"
 magicNS:attr1="..." >...

Why should it be bad? I don't see why it should be forbidden neither do I see where it should cause harm.

You should just keep in mind, that

<message xmlns='jabber:client' to='...' from='...'>...
and
<foo:message xmlns='jabber:client' to='...' from='...'>...

are from the pure XML point of view the same as a 'normal' stanza without the xmlns attribute,

while

<message xmlns:foo='jabber:client' foo:to='...' foo:from='...'>...
and
<foo:message xmlns:foo='jabber:client' foo:to='...' foo:from='...'>...

are not equivalent to the above to stanzas. I.e. an attribute name without a prefix does not denote an attribute in the default namespace, but an attribute that belongs to the element.


Matthias

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to