jdev - 2021-02-17

  1. Sam Whited

    XEP-0030 uses "/" in all the examples to separate nodes, but that's just an example right? I just realized that I don't think I've ever seen a service with nodes and reading the text I can't tell if you can reference a specific node down the tree like a path or if you have to know the name of the node and it might not have any relation to the node it's a child of

  2. Sam Whited

    (I mean, obviously you have to know the name of the node, but is the node name absolute or does it actually have path semantics)

  3. Kev

    Nodes are opaque [*citation needed]

  4. Zash

    TIL there's a section about that

  5. Sam Whited

    Cool, going with the opaque thing since that's what I assumed. I hate it when all the examples appear to show something that might be convenient, but may or may not actually be part of the spec.

  6. Sam Whited

    Thanks for sanity checking me.

  7. Zash

    Yeah if you organize nodes into a tree I'm pretty sure there's no requirement to use any specific syntax for it.

  8. Sam Whited

    It also mentions that disco info requests to nodes should have type='branch' or type='leaf', but it's just a throwaway comment and not in the schema… I don't think I've ever actually seen or implemented the node stuff so I'm very confused by this.

  9. Zash

    This was in PubSub, was it not?

  10. Zash


  11. Sam Whited

    TIL, XEP-0248

  12. Zash

    AIUI one successful break-out from '60

  13. Sam Whited

    No, I'm just implementing XEP-0030, but maybe I should dig into a pubsub node and just see how it works as an example

  14. Zash

    "branch" and "leaf" are of the kind that goes into a registry, not schema. So https://xmpp.org/extensions/xep-0030.html#registrar-reg-identity-init

  15. Sam Whited

    oh, nevermind, that makes sense. I guess the schema wouldn't have the full enum since the registry can be modified

  16. Sam Whited

    oh damn, 10:00. Time for $DAYJOB. Oh well, thanks for the help; hopefully I'll be able to finally get this done soon.