[Standards] BOSH (was HTTP Binding) namespaces
Peter Saint-Andre
stpeter at jabber.org
Mon Mar 5 15:07:02 CST 2007
Ian Paterson wrote:
> Alex Gnauck and Mridul have independantly pointed out the fact that all
> XEP-0124 implementations (including my own) do not add "jabber:client"
> namespace declarations to the stanzas they pass through (despite the
> fact that all the examples in XEP-0124 include the namespace). This is
> for a very good reason, since the connection manager is then able to
> forward everything transparently between the client and server. However
> the result does not conform with the schemas (or examples).
>
> To allow transparent forwarding while staying true to the schemas, I'm
> considering editing the schemas and the examples in XEP-0124 and XEP-0206:
>
> 1. The schema defined in XEP-0124 will be renamed from
> 'http://jabber.org/protocol/httpbind' to 'urn:xmpp:bosh' and all the
> examples will be changed accordingly.
Doesn't that break backwards-compatibility?
> 2.The schema defined in XEP-0206 will be renamed from 'urn:xmpp:bosh'
It's urn:xmpp:xbosh right now (not "bosh").
> to
> 'http://jabber.org/protocol/httpbind'
I'm confused. :)
> and I will *copy and paste* the
> content of the 'jabber:client' schema and the content of the schema
> defined in XEP-0124 into that schema!
Can't we simply import them?
> Therefore all the stanzas in the examples in XEP-0124 will include
> "jabber:client" default namespace declarations, but these will be
> omitted from the examples in XEP-0206 since everything will be covered
> by the default namespace. In addition the "xmpp:" prefix will be omitted
> from the examples in XEP-0206.
>
> These changes will ensure that all existing (and future) implementations
> magically become fully compliant with *XEP-0206* (even if not with the
> schema defined in XEP-0124).
Sounds like a good thing.
> In the future the schema in XEP-0206 will need to be updated to reflect
> any changes to the 'jabber:client' schema or to the schema defined in
> XEP-0124, but those are likely to be stable.
Right. But see above on import.
> Finally, I could swap the names of the two documents, so any references
> to XEP-0124 or literature that claims an implementation is XEP-0124
> compliant do not have to be changed.
So XEP-0124 would become "XMPP Over BOSH" and XEP-0206 would become "BOSH"?
Peter
--
Peter Saint-Andre
XMPP Standards Foundation
http://www.xmpp.org/xsf/people/stpeter.shtml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/standards/attachments/20070305/32e04a5e/smime.bin
More information about the Standards
mailing list