<div class="gmail_quote">On Tue, Mar 10, 2009 at 12:42 PM, Brett Zamir <span dir="ltr"><<a href="mailto:brettz9@yahoo.com">brettz9@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">Well, yes, but there are issues such as these in the specs:</div>
<br>
1) RFC3920bis-09: "for historical reasons MAY accept only the 'stream:'
prefix"<br>
2) RFC3921bis-08: "The <show/> element MUST NOT possess any
attributes." (also with <status/>, <priority/>,
<body/>, <subject/>)<br>
<br>
The latter could be made to state "MUST NOT possess any non-namespaced
attributes".<div class="im"></div></div></blockquote><div><br></div><div><div>1) I think that refers to the fact that you can call the namespace alias whatever you want as long at it resolves to '<a href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</a>'. For compatability reasons (and people who don't understand how xml namespaces aliases work), it's preferred to use 'stream' as the namespace alias.</div>
<div><br></div><div>2) but that doesn't stop you putting attributes, (even with their own namespace), on sub-elements of body, or on your own namespaces elements.</div><div><br></div><div>neither of these points promote / prevent creating your own namespace bindings for use on elements and their attributes.</div>
<div><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#ffffff" text="#000000"><div class="im"><blockquote type="cite">In theory xml:lang SHOULD be supported, so it's not really
a question.<br>
</blockquote></div>
xml:lang can be supported without namespace awareness--the original XML
spec (before XML Namespaces) allows, without reservation, the colon in
an XML Name (as in an
attribute), but according to the above issues, an implementation could
theoretically (if not actually) use a parser which rejects any
attributes on such elements.<br></div></blockquote></div><div><br></div>true, and it's a namespace declaration, and not a attribute with namespace.<br clear="all"><br>-- <br>- Norman Rasmussen<br> - Email: <a href="mailto:norman@rasmussen.co.za">norman@rasmussen.co.za</a><br>
- Home page: <a href="http://norman.rasmussen.co.za/">http://norman.rasmussen.co.za/</a><br>